zoukankan      html  css  js  c++  java
  • loadrunner函数

    栗子:

         web_custom_request("demoname", 
            "URL=https://demo-demo.cloudtest.cn:8080/test/demo/xxx", 
            "Method=POST", 
            "Resource=0", 
            "RecContentType=application/json", 
            "Referer=https://demo-demo.cloudtest.cn:1234/", 
            "Snapshot=t146.inf", 
            "Mode=HTML", 
            "EncType=application/json", 
            "BodyBinary={"name":"lr_record\xE5\x85\xBB\xE8\xBA\xAB\xE5\xA3\xB6","nameEN":"lr_record_yangshenghu","productModel":"lr_record_model123","accessMethod":"Wi-Fi","listingTime":"2019-12","brandName":"lr_record","classificationOid":"220","hardwareVersion":"lr_record_hw123","accessTypeKey":"HARD"}", 
            LAST);

    说明:

    提交的数据包含中文,则使用参数名BodyBinary,并且中文要转码;否则使用Body

  • 相关阅读:
    structInMemory
    合并字符串
    eggs
    1005. Spell It Right (20) -PAT
    60 人工智能
    50 计算机网络
    20数据结构
    40操作系统
    10 C/C++/python
    30汇编
  • 原文地址:https://www.cnblogs.com/swordsman180309/p/11062895.html
Copyright © 2011-2022 走看看