2016-08-16 14 views
0

私はLoadRunnerを使用して、Siebel CRMベースのアプリケーションであるアプリケーションのパフォーマンスをテストしています。私が直面している問題は、セッションごとに固有のSRN番号を取得できないことです。LoadRunner - Manual Correlation - web_reg_save_paramを使用して値を取得できません

私はSRNをキャプチャするために使用していたコードは、私がSRN`で検索する場合は、私はSRN値を見ることができています

//HELLO YOUR CODE STARTS HERE.....FOR MANUAL CORRELATION 
web_reg_save_param("Siebel_SRN",  
    "NOTFOUND=ERROR",      
    "LB=SRN`", 
    "RB=`", 
    "Ord=All", 
    "Search=All", 
    "IgnoreRedirections=Yes", 
    "RelFrameId=All",  
    LAST); 
lr_output_message("Siebel_SRN value is %s", lr_eval_string("{Siebel_SRN}")); 
//HELLO YOUR CODE ENDS HERE.....FOR MANUAL CORRELATION 

を下回っています。

以下は、サーバーからの応答です。私は境界を正しく設定していますが(私はそう信じていますが)SRN値を取得できません。

vuser_init.c(161):  7/23048/scripts/HICalendarUI.htm`sui`false`vfn`_sweclient._swecontent._sweview`IsWebSocket 
vuser_init.c(161):  BSReady`false`WebSocketServerPort``SweBusyTimer`30`lt`1471312453347`MR1`Y`cqt`-1`ui`L17LOA 
vuser_init.c(161):  D`IsAutoOn`false`ect`Link`SRN`ABrcHGKVMlEGktXB3ekmRUEOy6rYzkMmy7OicIW0yHMb`ec`<span class= 
vuser_init.c(161):  \\"siebui-icon-icon_select\\"><img src=\\"images/icon_select.gif\\" border=\\"0\\" align=\\ 
vuser_init.c(161):  "absmiddle\\" alt=\\"Pick Applet\\" title=\\"Pick Applet\\" >\\<\\/span>`cks`1-14TA9_DHHS 
vuser_init.c(161):  +L17_43%7c1470288710%7c1471223560_0_23048__L`vs`15.9.0.0 SIA [23048] ENU`USC`1`IsMsgBarEna 
vuser_init.c(161):  bled`true`lodc`0`IsMobileApplication`false`iri`<span class=\\"siebui-icon-icon_required\\" 
vuser_init.c(161):  ><img src=\\"images/icon_req.gif\\" border=\\"0\\" space=\\"0\\" hspace=\\"0\\" alt=\\"Req 

No match found for the requested parameter "Siebel_SRN". Either the specified boundaries 
were not found in the response or the matched text is longer than current max html parameter size of 999999 bytes. 
The total length of the response is 15062 bytes. You can use 
"web_set_max_html_param_len" to increase the max parameter size. [MsgId: MERR-26377] [Time:2016-08-16 11:54:27] 

を再生しながら、私は以下のメッセージを取得していますし、私は愚かな何かをやっている

user_init.c(296): Registering web_reg_save_param was successful  [MsgId: MMSG-26390] 
vuser_init.c(307): Warning: The string 'Siebel_SRN' with parameter delimiters is not a parameter. 
vuser_init.c(307): Siebel_SRN value is {Siebel_SRN} [Time:2016-08-16 11:54:21] 

Siebel_SRNの出力があります。しかし、それを理解することはできません。この問題を解決するのに私を助けてください。すべてのおかげで

+0

あなたの経営陣はこのツールのトレーニングにあなたを送りましたか、またはあなたにメンターを提供しましたか? –

答えて

1

まずを進める、あなたは相関関係が常に事前に登録する必要がありますように、目標要求ステップ(web_urlweb_custom_requestweb_submit_formなど)の前にweb_reg_save_paramを置いていることを確認します。

また、Ord=All引数を渡さないでください:、Siebel_SRN_2などのパラメータに配列を作成します。あなたのケースでは、応答にSRN値のインスタンスが1つしかありません。 IgnoreRedirections=Yesも奇妙に見えます。一般的にHTTPリダイレクトを無視する必要はありません。詳細については、the official documentationを参照してください。

関連する問題