• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 軟件測試工具loadrunner函數譯解

    發表于:2009-07-09來源:作者:點擊數: 標簽:軟件測試loadrunnerloadRunnerLoadRunnerLoadrunner
    loadrunner函數譯解 及loadrunner 教程 今天介紹的函數在采用 windows sockets協議方式錄制時常用,用來實現設置檢查點,關聯。它的作用是在從 服務器 返回的數據緩沖區中查找滿足條件的值,并存儲在指定的變量里。 int lr s_save_searched_string (char* s_

     loadrunner函數譯解 及loadrunner 教程

    今天介紹的函數在采用windows sockets協議方式錄制時常用,用來實現設置檢查點,關聯。它的作用是在從服務器返回的數據緩沖區中查找滿足條件的值,并存儲在指定的變量里。

              int lrs_save_searched_string (char* s_desc, char* buf_desc, char* param_name,
            char* left_boundary, char* right_boundary, int ordinal, int offset,
            int param_len );

            s_desc:          socket連接的名稱
            buf_desc:        緩沖區名稱
            param_name:     變量名存儲查找到的值
            left_boundary    左邊界
            right_boundary   右邊界
            ordinal          存儲查找到的第幾個值
            offset           偏移量,相對于左邊界的偏移量
            param_len        提取數據的長度,沒有右邊界必需設置。

            例子:

            data.ws 中包含的數據如下: buf1:

                   "\x00\x01\x85\x80\x00\x01\x00\x01\x00\x00\x00\x00\x07"

                   "Mercury\"

                   "\x02"

                   "co"

                   "\x02"

                   "il"

                   "\x00\x00\x01\x00\x01\xc0"

            lrs_save_searched_string ("socket0", "buf1", "correlation", "LB/BIN=\\x00{Param1}", "RB/BIN=\\x02", 2, 3, -1);

            要存儲的值是,第 2 次出現 ,相對于左邊界偏移3位(字節),在 \x00\x01 之后. 為\x00\x00\x00\x07Mercury

            左邊界\x00\x01共出現5次,第二次是:

            "\x00\x01\x85\x80\x00\x01".

            偏移3位的邊界是:

            "\x00\x01\x85\x80\x00\x01\x00\x01\x00".

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>