Jump to content


Photo

Request method to prevent recording of JSONAutoVars

JSON

  • Please log in to reply
1 reply to this topic

#1 JMessenger

JMessenger

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 01 March 2016 - 07:26 PM

Using WAPT Pro 4.0 and JSON Module.

 

Is there a way to turn off recording of JSONAutoVars?  I want to maintain the ability to view responses in JSON format and to create my own JPATH variables but the JSONAutoVars are not always created correctly for my application under test (it is RESTful).

 

For example, the auto-variable is based on Element[1] instead of Element[id='test'] - this is a problem because I can not rely upon the the items in an element always being in the same order for every user.  Hence while the variables populate correctly for the initial recorded user these variables may fail to populate for other users.  

 



#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 02 March 2016 - 07:10 AM

Thank you for your message!

 

Unfortunately, you cannot disable automatic parameterization for JSON module. We will add this option in the next build of WAPT Pro 4.0.


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





Also tagged with one or more of these keywords: JSON

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users