Forum Discussion
ben_oshman
12 years agoOccasional Contributor
Thanks Michael.
Unfortunately, the variable name @zDbg_nnn IS being passed to the server. I know this because we get an exception passed back where the server tried to convert the value to a number (since that's what's expected). Here's a snippet from the Response.
<!--
<tw:xmlData>
<error>
<message>
For input string: "@zDbg_181"
</message>
<stackTrace>
com.lombardisoftware.core.TeamWorksException: For input string: "@zDbg_181"
at com.lombardisoftware.core.TeamWorksException.asTeamWorksException(TeamWorksException.java:130)
at com.lombardisoftware.core.RegexExceptionRewriter.rewrite(RegexExceptionRewriter.java:76)
...
Caused by: java.lang.NumberFormatException: For input string: "@zDbg_181"
...
I've been clearing the cache manually and have been selecting "Clear Cache" when recording.
The work-around I'm using right now is to use Chrome developer tools to copy the values from the request and paste them into the Text tab of the Request in the Scenario. This seems to work, but is less than ideal.
Unfortunately, the variable name @zDbg_nnn IS being passed to the server. I know this because we get an exception passed back where the server tried to convert the value to a number (since that's what's expected). Here's a snippet from the Response.
<!--
<tw:xmlData>
<error>
<message>
For input string: "@zDbg_181"
</message>
<stackTrace>
com.lombardisoftware.core.TeamWorksException: For input string: "@zDbg_181"
at com.lombardisoftware.core.TeamWorksException.asTeamWorksException(TeamWorksException.java:130)
at com.lombardisoftware.core.RegexExceptionRewriter.rewrite(RegexExceptionRewriter.java:76)
...
Caused by: java.lang.NumberFormatException: For input string: "@zDbg_181"
...
I've been clearing the cache manually and have been selecting "Clear Cache" when recording.
The work-around I'm using right now is to use Chrome developer tools to copy the values from the request and paste them into the Text tab of the Request in the Scenario. This seems to work, but is less than ideal.
Related Content
Recent Discussions
- 9 months ago
- 2 years ago
- 3 years ago
- 3 years ago