Jmeter script of post request still running successfully in case mandatory parameter is deleted -


i new in jmeter , doing r & d recorded signup scenario fields mandatory give username, customerid etc.

i playback script run fine if replace value of customerid blank , run again, test plan still running without errors

in opinion there should thrown error if customerid not valid

result

please help!

jmeter doesn't automatically check response body errors , treats http responses codes 2xx , 3xx successful.

if need validate error message go response assertion - can conditionally fail sampler basing on presence or absence of search pattern in response.

response assertion in work

see how use jmeter assertions in 3 easy steps article learn more using assertions in jmeter test


Comments