lundi 25 mai 2015

How to assert specific part of Response Value using "Equals" assertion in SoapUI NG Pro?

These are steps I followed to stuck my work.

  1. Created a sample project in SoapUI NG Pro
  2. Generated a test suite for the service belongs to webservice
  3. Added "Equals" assertion for the test step

While configuring with "Equals" assertion, I set "Target" as "Text" and "Target Text" is "THE BARTELL DRUG CO" which is part of whole response of the web service.

But assertion is showing in "RED" color which seems it is "FAILED". Could anyone tell me how we can assert the response value using "Equals" assertion?

Thanks
Karunagara Pandi

Aucun commentaire:

Enregistrer un commentaire