pcl2004_27 发表于 2006-10-25 13:40:00

LoadRunner:web_create_html_param -- where to place it

Description

      This article documents an absolutely reliable method for placing the web_create_html_parm at the correct place in your script


Solution

      It is very common to have problems with web_create_html_param. The problem may be left/right boundaries, but is often placement.

I NEVER think about where to place the web statement. Rather, go to runtime settings->log->extendedlog->data returned by server, then run your script.

After it runs, in the output window, simply search for your left boundary! This is exactly what Vugen does during script execution. Once you find the left boundary, make sure the right boundary is ok. Now, simply scroll up in the result window, line by line, looking for something like:

Action1.c(1234) .......

This means that you MUST place the web_create_html_param immediately before line 1234 of the Action1.c section.

I have never seen this method fail to correctly locate the proper place to place this statement.

Good Luck
页: [1]
查看完整版本: LoadRunner:web_create_html_param -- where to place it