lundi 18 septembre 2017

SOAPUI - JSON - Assertion

On the UI: I'm first line I'm second line.

  • List item

I'm the third line

JSON response: { "Keyabc": "I'm first line\r\nI'm second line.\r\n~I'm the third line" }

How do I write a assertion for this?

If only \n (new line): In the assertion I can write the expected strings in 3 rows.

\r represents: carriage return -> For this, what should I give in the expected value for assertion ?

For the list items with bullet formatted, how i should give the expected value for assertion ?

Aucun commentaire:

Enregistrer un commentaire