Ask a Question

Assertion for Encrypted

SOLVED
nurgustianto
New Contributor

Assertion for Encrypted

Hi All,

 

Kindly need Your help, How to implement the assertion of Encrypted, Please see the following screenshot below : 

ask SmartBear.JPG

above images are the JSON response on CardNumber field (on the yellow highlighted), how to implement the assertion on ReadyAPI on this assertion, and what type of assertion should I apply?

The criteria of assertion are, that it should pass if the character/response of CardNumber is encrypted, and it fails if the CardNumber is not encrypted.

Really appreciate Your help. 

Thank you in advance.

 

Cordially,

 

Anto

1 REPLY 1
nurgustianto
New Contributor

Dear All,

 

Have found the solution for this, 

I'm using the Message Content Assertion for this.

Thank you.

cancel
Showing results for 
Search instead for 
Did you mean: