[OpenSTA-users] OpenSTA crash/malfunction if certain alteration made to script
Brought to you by:
dansut
|
From: <geo...@sm...> - 2007-02-28 19:20:51
|
OS: Windows XP
OpenSTA 1.4.3
- After recording my script (simple one, just log into my web app), I use
the single-step function of OpenSTA to play it back. The tool seems to
work fine at this point during playback.
- I need to extract a "tokenId" from the body of one of the responses,
store it in a variable, then re-inject that value back into a request
later on. So I make the following changes to my script:
CHARACTER*1024 TOKEN_ID !Inserted into the
Definitions section
...
Load Response_Info Body on 8 & !Inserted
into Code section right after the GET URI command that should have the
desired value in it's response
Into TOKEN_ID &
,WITH
html(0)/body(1)/table(0)/tr(0)/td(0)/table(0)/tr(0)/td(0)/form(1)/input(1):ATTRIBUTE:value(0)
...
,BODY "validatorOff=true&tokenId="+TOKEN_ID !This is
body of a later POST URI command that I altered to now use the variable
instead of a static value
- Hit Save to save the script, go to Commander where I have a Test set up
with 1 VU running the script only.
- When I attempt to single-step through this updated script, the upper
part of the tool appears to be working ('Run', 'Step', 'Stop' buttons work
and the URLs highlight as if they are being played), but the lower pane
where I expect to see HTTP request/response details remains completely
blank.
Note: I have tried many permutations of my script, though not documented
here. This blank pane in the single-step tool has occurred a number of
times, or I may get a windows message saying that "TestPlugin has
encountered an error and must close".
Any advice would be appreciated. I can send the full script directly to
anyone that wants to look at it.
Thank you,
-George Wagner
|