Jump to content
WAPT Forum
Sign in to follow this  
Guest bernie

Testing of WebService using WAPT 7.0

Recommended Posts

Guest bernie

Hi,

 

I have developed a Web Service which returns a response as an XML string

in the format of;

 

<?xml version="1.0" encoding="utf-8" ?>

<string xmlns="http://.../">

<data label="xxx" id="999">

</string>

 

Is there a way using WAPT 7.0 for capturing and comparing the resulting XML

string returned with what is expected? I can record & playback the web service

call successfully but just cannot capture (therefore compare) the results.

 

Any help or tips would be appreciated.

 

Regards

Bernie Rossi

Share this post


Link to post
Share on other sites

In WAPT try to use $Search function and compare results with "if" operator.

In WAPT Pro you can use JavaScript code to process server responses. So, if you have the Pro version, you can do this with help of regexps.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...