Can you help me in this task please

Here is an example that tests the equivalence between the http request response and the string
supplied as an argument:

pm.test(“Le corps est une chaine de caractères”, function () {“whole-body-text”);

Write the test that checks the similarity between the return of the query:
and the following string:

image.jpg”},“support”:{“url”:“Reqres - A hosted REST-API ready to respond to your AJAX requests keep ReqRes
free, contributions towards server costs are appreciated!”}}

What do you notice?
Indicate the web address of an online application capable of helping you solve this
Write the corrected version of this string.

I’ve seen that body before.

Is this some sort of training course? In which case, us telling you the answer defeats the purpose of the training.

This is a basic assertion, so I can only recommend that you visit the Postman Learning Centre.

Overview | Postman Learning Center

In particular, the Postman Training links under “Other Resources”.


I would recommend the “Galaxy APIs 101” course first as it gets you used to the application features.

Then the “Galaxy Testing and Automation” course which teaches you how to assert the responses (which should provide you the answer to your question).