Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

how to Validate parametarized value in Response

$
0
0

Hi 

I have parametarized <foldername> in Request through groovy script, it will randamoly generates value and place it in the request @<folderName></folderName>  , want assert the same name in response.

Please suggest how to assert the same value which scrpit generates in request

 

For example : 

script generates random num : 1234 concontinate with : Test1234 which is the folder name passing as parameter in request

In Response i m getting : 

<StatusCode>204</StatusCode>
<StatusDesc>Folder Created</StatusDesc>

<folderList>
<folderName>Test1234</folderName>
<numberOfunreadmessages>0</numberOfunreadmessages>
</folderList>

 

here i have to assert folderName Test1234 which is randomly changing each time with every new request  

 


Viewing all articles
Browse latest Browse all 20990

Trending Articles