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

REST URL Parameter

Recommended Posts

Guest mwe

I am trying to test a web site that uses rest urls. The page I need to test is called by a page that allows the user to enter a value. When the user submits the request the value is part of the URL path. e.g. www.mysite.com/restpath/userValue. The value entered by the user (userValue) does not show as a parameter or a hidden value. The only places I can see the userValue are: 1. Name field on the Properties tab, 2. URL Path on the Properties tab, and 3. in the Request Header on the Response Processing tab.

I tried to create an Ordered List variable and then use it on the Name and the URL Path but this didn't work. e.g. www.mysite.com/restpath/$Var(restValue) and /restpath/$Var(restValue).

Does WAPT support this kind of update? If it does, could you provide and example of how to do this?

 

If not, is there a way to use an ordered list of URLs to call the next page in the test, rather than the next page in the recording?

 

Thank you.

Share this post


Link to post
Share on other sites

Yes, WAPT supports this. If you give me your profile and specify the page I'll show you how to do this.

 

 

Was there any examples posted on how to do this?

I too am having problems trying to figure out how to do this.

 

Thanks!

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  

×