I'm running a test on Jmeter. this is part of the sampler result-
Load time: 520
Connect Time: 0
Latency: 520
Size in bytes: 504
Headers size in bytes: 458
Body size in bytes: 46
Sample Count: 1
Error Count: 1
Response code: 201
Response message: Created
so I have added 'Response Assertion' that configured as follows-
Apply to:Main sample only, Response Field to test:Response Code, Pattern Matching Rules:Equals, Patterns to test: 201.
when running it, the request fails and the reason is this:
Assertion error: false
Assertion failure: true
Assertion failure message: Test failed: code expected to equal /
****** received : 201[[[ ]]]
****** comparison: 201[[[
]]]
/
What is exactly the problem?