Jump to content


REST URL Parameter


  • Please log in to reply
4 replies to this topic

#1 Guest_mwe_*

Guest_mwe_*
  • Guests

Posted 24 October 2012 - 04:32 PM

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.

#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 25 October 2012 - 11:18 AM

Yes, WAPT supports this. If you give me your profile and specify the page I'll show you how to do this.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#3 mewongster1

mewongster1

    Newbie

  • Members
  • Pip
  • 5 posts
  • Gender:Male

Posted 31 March 2013 - 06:17 PM

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!

#4 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 02 April 2013 - 04:49 AM

You can found an example in our demo clip:
http://www.loadtesti...art-guide.shtml
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#5 mewongster1

mewongster1

    Newbie

  • Members
  • Pip
  • 5 posts
  • Gender:Male

Posted 02 April 2013 - 10:44 PM

Got it working.

Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users