Hi Team,
Virtualized json request and response using REST Data Protocol with the match style as Operation match.
Request contains a random value and it is parameterized as {URLPARAM0} and Rule has also been added.
Operation: GET /v1_b6072607e6fda65fe3a424a0d57a42b676071d6b_0275/accounts/{URLPARAM0}/paymentmethods/{URLPARAM1}/
Test Scenarios:SUCCESS SCENARIO : When tested using
5 digits and above for {URLPARAM0} I am getting success response.
http://localhost:443/v1_b6072607e6fda65fe3a424a0d57a42b676071d6b_0275/accounts/12345/paymentmethods/1/
FAILED SCENARIO: When tested using
4 digits or below for {URLPARAM0} I am getting 404 URL not found response.
http://localhost:443/v1_b6072607e6fda65fe3a424a0d57a42b676071d6b_0275/accounts/1234/paymentmethods/1/
Can we limit the length for URLPARAM fields from local.properties or lisa.properties file so that URLPARAM should accept even single digit also.
Please suggest.
Attached Screenshots.
Thanks,
Anupam