Forum Discussion
ChrisAdams
5 years agoSuper Contributor
groovy script don’t have a response value, they have a result value. You might have to check the step type (e.g. request or groovy script) and then decide whether to look for #response or #result.
dinojadhav
5 years agoOccasional Contributor
Hi Chris,
I am a bit new to groovy and correct me if I am wrong here. Below is the sameple request and response :
Here Add Itinerary is my Test Step Name and which execute 01Y5 command and the line " 1 ET 105Y......" is the response of that command. In my case I am getting result as " Add Itinerary : NULL" means the command is not captured :
Add Itinerary : 01Y5
Add Itinerary : 1 ET 105Y 07JUN M MQXADD SS1 255P 420P /E
ARR-TERMINAL 1