|
我跟你查了些资料:
(一)
Usually when you have Java script (which gets interpreted by the browser) it's to check forms for server submission or perform some other client side activity within the browser, since LR only captures API call out of the browser, LR is oblivious to what the browser is interpreting and executing client side.
So as a work around get the code from DEV and convert it to C for use in the script, it's not that bad and works like a charm, now your script (which is emulating your client) is performing the same operations that occur in the browser.
(二)
lot of client side scripts i.e javascripts are in you application. Loadrunner will not record those client scripts..(as they are Non-gui api calls). INSTEAD, QTP (mercury interactive)and use the same scripts for Performance testing in the controller.
这两种方法,你都可以试试。 |
|