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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×