I am currently working automation with SOAPUI .
I need to do End to End for 3 services.
- A svc – it will return rxEncryptedToken , if success else success code as different
- B Svc - I need to take rxEncryptedToken from 1st service and pass to 2nd
- Here 1st Svc will give different Response depend on the Login in Back end.
SO i am not able to parse correctly.
1st Svc
One response
{"response": {"header": {
"statusCode": "0058",
"statusDesc": "Profile Already Exist.",
"remoteIP": "216.195.30.83",
"refId": "Id-bcb59156d766010028240000713ccebb"
}}}
Another response
{"createProfileAccountResponse": {
"statusCode": "0000",
"statusDescription": "Success",
"ecStatus": {"extracareNumber": ""},
"rxStatus": {
"rxProfileAvailable": "Y",
"rxEncryptedToken": "MEDcPfr%2BPM1i7Ku04kNgbEDJBj9IazM7%"
},
"smsStatus": {
"subscribedForRxAlerts": "",
"phoneNumber": ""
}
}}