Loadrunner problem capturing BPM response data using http/html and ajax (click and script)
I seem to be having an issue capturing a piece of data for correlation. I'm using LR version 9.1. I have tried two different protocol and I'll explain both situations.
First what I am trying to record is a web application called BPM (10.3). The app used to work perfectly with the http/html protocol but since they have upgraded they have used AJAX in one specific place to post a WAPI session ID. I need to capture this number. The app uses ajax to post back to BPM without altering the page contents. When I look in the server reponse in the script it appears that the number I need is posted back to the browser in an XML document, but when I create a parameter to capture it during run time, I alwasy get the message that the document has temporarily moved, even though the test results show the actual number that I need did post.
I decided to try using the ajax (click and script) protocol to see if I had better luck. When I replayed I got the following messages in the replay log (I had no errors when I checked prior to running):
Action.c(8): Warning -26000: Evaluating decompiled script failed for "Window" DOM object (name="") "load", listed in the following line: [MsgId: MWAR-26000]
Action.c(8): Warning -26000: postBackToBPM(); [MsgId: MWAR-26000]
Has anyone worked with this app or similar? Any suggestions or help would be greatly appreciated.
Following error is being encountered:-
1>Warning -26499: Internal Error - Can't convert type 1 to VARIANT in LrwJswAutomationObject::ConvertToVariant - for BPM recording using AJAX (Click & Script)
2>Error -26628: HTTP Status-Code=403 (Forbidden) for "http://XXXXbpmWAPISessionId=XXXX" [MsgId: MERR-26628] for web (http/html)
Please can you let me know whether you have any solution to this issue. It seems dynamic correlation using web_reg_save_param doesnot work in this case as this WAPI session id is not recorded in the browser url (infact the new BPM window doesnot display a url )
Hi, has anyone been able to solve this problem? i have the exact same problem trying to replay a script recorded on LR 11 using HTTP/HTML with Flex Protocols.
The BPM workspace request is returning a 403 error with InvalidWAPISessionID.
Thanks in advance!