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

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