我有一个简单的VUGen导航脚本,使用URL模式记录并粘贴在下面。 我有两个问题:
是否无法在URL模式下记录脚本中使用web_reg_find()? 在脚本中的步骤之前放置验证(web_reg_find),我知道即将出现文本。生成日志只通知我web_reg_find是成功的(不是我习惯使用HTML模式的方式,而且生成日志通常也会公开值本身)。
当控制器中有2个用户运行以下脚本作为sceanrio时,运行事务时间达到峰值10分钟后,JVM中的CPU使用率达到峰值(99.9%),内存也达到“最大值 - 去”。通常认为这与堆和GC设置++有关。 但脚本本身是否有可能实现这一目标。可能导致脚本成为响应时间/记忆/ CPU使用高峰的原因的更多细节是我正在测试的应用程序根本没有与任何服务集成,所有服务都被模拟。我也只是使用一个用户登录所有mye请求,因为这被模拟,我每次都得到相同的响应。但它确实会对任何交易产生错误。还没有实现注销/清理逻辑,这可能会导致在Web服务器上累积会话,因此可能就是这种情况。 我的下一步是使用JVisualVM在峰值发生一段时间后深入研究高CPU使用率。 所以我的一般问题是:这个现象,如在10分钟的响应时间达到峰值,以及内存/ CPU消耗在WAS(实际上是JBoss)上达到峰值,是否可能是由于脚本本身的某些原因?是否有人经历过他们的剧本是其来源?
动作() { //在参数中保存sessionID i,以便在脚本中进一步手动关联 web_reg_save_param_ex( “PARAMNAME = SessionID的”, “LB = JSESSIONID =”, “RB =?”, SEARCH_FILTERS, “范围=包头”, LAST);
//lr_output_message("Sesjons ID: %s", lr_eval_string ("+{SessionID}"));
web_url("something",
"URL={url}/something/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTTP",
LAST);
web_concurrent_start(NULL);
web_url("modig-ver-1359533772000.css",
"URL={url}/something/css/modig-ver-1359533772000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t2.inf",
LAST);
web_url("bootstrap-transition-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-transition-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t3.inf",
LAST);
web_url("bootstrap-alert-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-alert-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t4.inf",
LAST);
web_url("datepicker-ver-1360590665000.css",
"URL={url}/something/css/datepicker-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t5.inf",
LAST);
web_url("ViseForslagTilSomethingPage-ver-1360590665000.css",
"URL={url}/something/css/ViseForslagTilSomethingPage-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t6.inf",
LAST);
web_url("bootstrap-carousel-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-carousel-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t7.inf",
LAST);
web_url("bootstrap-button-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-button-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t8.inf",
LAST);
web_url("GettingreadyForSomethingPage-ver-1360590665000.css",
"URL={url}/something/css/GettingreadyForSomethingPage-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t9.inf",
LAST);
web_url("bootstrap-collapse-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-collapse-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t10.inf",
LAST);
web_url("bootstrap-tooltip-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-tooltip-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t11.inf",
LAST);
web_url("bootstrap-dropdown-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-dropdown-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t12.inf",
LAST);
web_url("bootstrap-modal-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-modal-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t13.inf",
LAST);
web_url("VurderePiceofshitListePanel-ver-1360590665000.css",
"URL={url}/something/css/VurderePiceofshitListePanel-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t14.inf",
LAST);
web_url("bootstrap-popover-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-popover-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t15.inf",
LAST);
web_url("bootstrap-scrollspy-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-scrollspy-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t16.inf",
LAST);
web_url("bootstrap-tab-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-tab-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t17.inf",
LAST);
web_url("bootstrap-affix-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-affix-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t18.inf",
LAST);
web_url("bootstrap-datepicker-ver-1360590665000.js",
"URL={url}/something/js/bootstrap-datepicker-ver-1360590665000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t19.inf",
LAST);
web_url("BasePage-ver-1360590665000.css",
"URL={url}/something/css/BasePage-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t20.inf",
LAST);
web_url("jquery.placeholder-local-modernisering-version-ver-1360590665000.js",
"URL={url}/something/js/jquery.placeholder-local-modernisering-version-ver-1360590665000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t21.inf",
LAST);
web_url("bootstrap-typeahead-ver-1359533772000.js",
"URL={url}/something/js/bootstrap/bootstrap-typeahead-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t22.inf",
LAST);
web_url("BasePage-ver-1360590665000.js",
"URL={url}/something/js/BasePage-ver-1360590665000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t23.inf",
LAST);
web_url("GettingreadyForSomethingPage-ver-1360590665000.js",
"URL={url}/something/js/GettingreadyForSomethingPage-ver-1360590665000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t24.inf",
LAST);
web_url("BstreetPanel-ver-1360590665000.js",
"URL={url}/something/js/BstreetPanel-ver-1360590665000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t25.inf",
LAST);
web_url("wicket-debugbar-ver-1355500350000.css",
"URL={url}/something/wicket/resource/org.apache.wicket.devutils.debugbar.DebugBar/wicket-debugbar-ver-1355500350000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t26.inf",
LAST);
web_url("BstreetPanel-ver-1360590665000.css",
"URL={url}/something/css/BstreetPanel-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t27.inf",
LAST);
web_url("wicket-debugbar-ver-1355500350000.js",
"URL={url}/something/wicket/resource/org.apache.wicket.devutils.debugbar.DebugBar/wicket-debugbar-ver-1355500350000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t28.inf",
LAST);
web_url("FatteSomethingPage-ver-1360590665000.css",
"URL={url}/something/css/FatteSomethingPage-ver-1360590665000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t29.inf",
LAST);
web_url("PiceofshitPanel-ver-1360590665000.js",
"URL={url}/something/js/PiceofshitPanel-ver-1360590665000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t30.inf",
LAST);
web_url("wicket-ver-1355500350000.png",
"URL={url}/something/wicket/resource/org.apache.wicket.devutils.debugbar.DebugBar/wicket-ver-1355500350000.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t31.inf",
LAST);
web_url("bug-ver-1355500350000.png",
"URL={url}/something/wicket/resource/org.apache.wicket.devutils.inspector.InspectorPage/bug-ver-1355500350000.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t32.inf",
LAST);
web_url("remove-ver-1355500350000.png",
"URL={url}/something/wicket/resource/org.apache.wicket.devutils.debugbar.DebugBar/remove-ver-1355500350000.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t33.inf",
LAST);
web_url("jquery-1.8.2-ver-1359533772000.js",
"URL={url}/something/js/jquery/jquery-1.8.2-ver-1359533772000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t34.inf",
LAST);
web_url("harddrive-ver-1355500350000.png",
"URL={url}/something/wicket/resource/org.apache.wicket.devutils.debugbar.SessionSizeDebugPanel/harddrive-ver-1355500350000.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t35.inf",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("prosessteg_gettingready.png",
"URL={url}/something/css/images/prosessteg_gettingready.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t36.inf",
LAST);
web_url("somelogo.jpg",
"URL={url}/something/css/images/somelogo.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t37.inf",
LAST);
web_url("glyphicons-halflings-white.png",
"URL={url}/something/img/glyphicons-halflings-white.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t38.inf",
LAST);
web_concurrent_end(NULL);
web_reg_save_param_ex(
"ParamName=someOtherThingsId",
"LB=something/someOtherThing/",
"RB=/gettingready",
SEARCH_FILTERS,
"Scope=Headers",
LAST);
//lr_output_message("SomeOtherThings ID:", lr_eval_string ("{someOtherThingsId}"));
lr_think_time(3);
lr_start_transaction("Logg inn");
web_submit_data("create;jsessionid=+{SessionID}",
"Action={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0-1.IFormSubmitListener-createeSomeOtherThingForm",
"Method=POST",
"RecContentType=text/html",
"Referer={url}/something/someOtherThing/create;jsessionid=+{SessionID}?0",
"Snapshot=t39.inf",
"Mode=HTTP",
ITEMDATA,
"Name=neste", "Value=x", ENDITEM,
"Name=fnr", "Value={fnr}", ENDITEM,
"Name=someOtherThingsidbuse", "Value=", ENDITEM,
"Name=userId", "Value=P114818", ENDITEM,
"Name=authenticationLevel", "Value=3", ENDITEM,
"Name=identType", "Value=internal", ENDITEM,
"Name=consumerId", "Value=something", ENDITEM,
LAST);
web_concurrent_start(NULL);
web_url("modal-ver-1355500286000.js",
"URL={url}/something/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal-ver-1355500286000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t40.inf",
LAST);
web_url("wicket-ajax-jquery-ver-1355500070000.js",
"URL={url}/something/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-ver-1355500070000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t41.inf",
LAST);
web_url("wicket-event-jquery-ver-1355500070000.js",
"URL={url}/something/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-1355500070000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t42.inf",
LAST);
web_url("modal-ver-1355500286000.css",
"URL={url}/something/wicket/resource/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal-ver-1355500286000.css",
"Resource=1",
"RecContentType=text/css",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t43.inf",
LAST);
web_url("wicket-ajax-jquery-debug-ver-1355500070000.js",
"URL={url}/something/wicket/resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug-ver-1355500070000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t44.inf",
LAST);
web_concurrent_end(NULL);
web_url("glyphicons-halflings.png",
"URL={url}/something/img/glyphicons-halflings.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t45.inf",
LAST);
lr_end_transaction("Logg inn",LR_AUTO);
lr_think_time(5);
lr_start_transaction("Neste Gettingready something");
web_url("gettingready",
"URL={url}/something/someOtherThing/{someOtherThingsId}/gettingready?2-1.IBehaviorListener.0-neste&_=1361189220848",
"Resource=0",
"RecContentType=text/xml",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t46.inf",
"Mode=HTTP",
LAST);
web_url("vurderepiceofshit",
"URL={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit",
"Resource=0",
"RecContentType=text/html",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/gettingready?3",
"Snapshot=t47.inf",
"Mode=HTTP",
LAST);
web_url("AjaxFormChoiceComponentUpdatingBehavior-ver-1355500070000.js",
"URL={url}/something/wicket/resource/org.apache.wicket.ajax.form.AjaxFormChoiceComponentUpdatingBehavior/AjaxFormChoiceComponentUpdatingBehavior-ver-1355500070000.js",
"Resource=1",
"RecContentType=text/javascript",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t48.inf",
LAST);
web_concurrent_start(NULL);
web_url("icon_ikke_ok.png",
"URL={url}/something/css/images/icon_ikke_ok.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t49.inf",
LAST);
web_url("icon_ok.png",
"URL={url}/something/css/images/icon_ok.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t50.inf",
LAST);
web_url("Prosessteg_vurdere_piceofshit.png",
"URL={url}/something/css/images/Prosessteg_vurdere_piceofshit.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t51.inf",
LAST);
web_url("icon_vurderes.png",
"URL={url}/something/css/images/icon_vurderes.png",
"Resource=1",
"RecContentType=image/png",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t52.inf",
LAST);
web_concurrent_end(NULL);
lr_end_transaction("Neste Gettingready something",LR_AUTO);
lr_think_time(5);
lr_start_transaction("Velg Oppfyllt og trykk lagre");
web_submit_data("vurderepiceofshit_2",
"Action={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?3-1.IBehaviorListener.0-vurderePiceofshitListe-vurderePiceofshitRepeater-4-vurderePiceofshitListItem-piceofshitHoved-innerPanel-piceofshitDetaljer-piceofshitForm-piceofshitsregelValg",
"Method=POST",
"RecContentType=text/xml",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t53.inf",
"Mode=HTTP",
ITEMDATA,
"Name=piceofshitsregelValg", "Value=OPPFYLT", ENDITEM,
LAST);
web_submit_data("vurderepiceofshit_3",
"Action={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?4-1.IFormSubmitListener-vurderePiceofshitListe-vurderePiceofshitRepeater-4-vurderePiceofshitListItem-piceofshitHoved-innerPanel-piceofshitDetaljer-piceofshitForm",
"Method=POST",
"RecContentType=text/html",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?5",
"Snapshot=t54.inf",
"Mode=HTTP",
ITEMDATA,
"Name=piceofshitForm33_hf_0", "Value=", ENDITEM,
"Name=piceofshitsregelValg", "Value=OPPFYLT", ENDITEM,
LAST);
lr_end_transaction("Velg Oppfyllt og trykk lagre",LR_AUTO);
lr_think_time(5);
lr_start_transaction("Velg neste etter Oppfyllt Uttak av pensjon");
web_url("Neste",
"URL={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?7-1.ILinkListener-neste",
"Resource=0",
"RecContentType=text/html",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/vurderepiceofshit?7",
"Snapshot=t55.inf",
"Mode=HTTP",
LAST);
lr_end_transaction("Velg neste etter Oppfyllt Uttak av pensjon",LR_AUTO);
lr_think_time(5);
lr_start_transaction("Send til beslutning");
web_url("Send til beslutning",
"URL={url}/something/someOtherThing/{someOtherThingsId}/forslagsomething?8-1.ILinkListener-neste",
"Resource=0",
"RecContentType=text/html",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/forslagsomething?8",
"Snapshot=t56.inf",
"Mode=HTTP",
LAST);
lr_end_transaction("Send til beslutning",LR_AUTO);
lr_think_time(5);
lr_start_transaction("Huk av for godkjent beslutning");
web_submit_data("fattesomething",
"Action={url}/something/someOtherThing/{someOtherThingsId}/fattesomething?9-1.IBehaviorListener.0-tabbedPanel-content-panels-0-panel-tableBody-kontrollpunkter-0-kontrollpunkt-beslutningForm-valgtBeslutning",
"Method=POST",
"RecContentType=text/xml",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/fattesomething?9",
"Snapshot=t57.inf",
"Mode=HTTP",
ITEMDATA,
"Name=valgtBeslutning", "Value=0", ENDITEM,
LAST);
lr_end_transaction("Huk av for godkjent beslutning",LR_AUTO);
lr_think_time(5);
lr_start_transaction("Godkjenn og iverksett");
web_url("fattesomething_2",
"URL={url}/something/someOtherThing/{someOtherThingsId}/fattesomething?9-1.ILinkListener-godkjenn",
"Resource=0",
"RecContentType=text/html",
"Referer={url}/something/someOtherThing/{someOtherThingsId}/fattesomething?9",
"Snapshot=t58.inf",
"Mode=HTTP",
LAST);
web_url("thatsallfolks.jpg",
"URL={url}/something/css/images/thatsallfolks.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer={url}/something/wicket/bookmarkable/no.nav.something.web.pages.terminus.TerminusPage?someOtherThingId={someOtherThingsId}",
"Snapshot=t59.inf",
LAST);
lr_end_transaction("Godkjenn og iverksett",LR_AUTO);
return 0;
答案 0 :(得分:1)
web_reg_find()上下文是下一个调用。使用HTML模式调用包括子调用。在URL模式下放置web_reg _ *()调用时需要非常小心,以确保您具有正确的上下文。是的,即使没有找到值,web_reg_find()也会每次都成功执行。您需要手动检查代码中是否在通话中找到了多少文本实例。
正如您提出的更大问题,脚本是否会导致错误。一般来说,是的,它可以。如果您按照预期用途以不合规格的方式运行界面,则生成错误错误的可能性很高。有哪些常见原因,对于多个用户使用相同的登录凭据,其中所有用户在生产中都是不同的,用户针对同一组数据操作导致锁定和阻塞问题,其中每个数据集在生产中是不同的,具有没有思考时间或迭代时间(基本上是爆破界面)等等......
如果您以符合规范的方式使用相关界面,与用户运行界面的方式相同,并且您发现错误,则错误与服务器上使用的代码直接相关。我建议利用任意数量的商业或开源JVM诊断实用程序来查看资源的消耗位置,并将这些信息传递给开发人员。