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

Variables in Silverlight response (MSBin1)

Recommended Posts

Guest rafalmarek

Hi,

I am evaluating WAPT as tool to performance tests of Silverlight application and I have a question touching variables.

 

During recording WAPT correctly save responses (which is in MSBin1 format). I try to create variable from response to use it in next request.

But $Search nor $XPath do not finding variable. Is there a way to get variable from server response?

 

Thanks.

post-20339-0-23364000-1340895642.jpg

Share this post


Link to post
Share on other sites
Guest rafalmarek

You should use $XPath:

 

$XPath(/SaveProjectResponse/SaveProjectResult,1)

Thank you,

 

Unfortunately the $XPath also do not work. Test button in Edit function window return nothing (no exception, no value), and during play test no value is assign to variable.

Share this post


Link to post
Share on other sites

Thank you,

 

Unfortunately the $XPath also do not work. Test button in Edit function window return nothing (no exception, no value), and during play test no value is assign to variable.

 

Could you give me your profile?

Share this post


Link to post
Share on other sites
Guest rafalmarek

Could you give me your profile?

 

I've send profile to support@loadtestingtool.com

Share this post


Link to post
Share on other sites

You need to use WAPTNS namespace for default namespace. Your XPath should look like:

 

$XPath(/WAPTNS:SaveProjectResponse/WAPTNS:SaveProjectResult,1)

Share this post


Link to post
Share on other sites
Guest rafalmarek

You need to use WAPTNS namespace for default namespace. Your XPath should look like:

 

$XPath(/WAPTNS:SaveProjectResponse/WAPTNS:SaveProjectResult,1)

 

Thank you. It's work.

Best regards.

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...