lundi 23 novembre 2020

Error while executing Postman Test Script

I am writing the Postman test cases. I am getting an error from following test-case

pm.test("Response to have expected data", function () {
   pm.expect(documentIdArray).to.have.members(['5868', '4', '5874']);  
});

There was an error in evaluating the test script:  Error: expected [ '4837', '4', '5874' ] to have the same members as [ '5868', '4', '5874' ]

Aucun commentaire:

Enregistrer un commentaire