HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

How to suppress encoding in a parameter Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 203


10/10/2017
Unregistered User
Unregistered User
Posts: 203
Is there a configuration possible for parameters in quotes not to be encoded?
From Recorded:
GET /XRMServices/2011/OrganizationData.svc/AccountSet?$select=AccountId,Name&$filter=wf_OrgStateCode/Id%20eq%20guid'{C50A187F-71BE-E511-80DE-C4346BAC0388}'

From Replayed:
GET /XRMServices/2011/OrganizationData.svc/AccountSet?$select=AccountId,Name&$filter=wf_OrgStateCode/Id%20eq%20guid'%7B6F471749-F4DB-E511-80EB-C4346BAC3990%7D'


The %7B and %7D should be { and }
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 132


10/10/2017
George @StresStimulus
George @StresStimulus
Administrator
Posts: 132
Yes this can be done. To avoid encoding the braces you need to create the parameter in the free format editor (instead of the parameterization editor). Here are the steps:

  • In the test case tree right-click on session 211 and select Create Parameter
  • Select the Url and Query tab
  • Click the switch to free format editor button. Click ok on the StresStimulus alert.






  • In the free format editor create the same parameter the same way as you created the existing parameters.


Your existing parameters will be converted to a new parameter that will not encode braces
0 link






Copyright © 2018 Stimulus Technology