zoukankan      html  css  js  c++  java
  • LoadRunner web_add_header()

    Action()
    {
        web_cleanup_cookies();
        web_cache_cleanup();
    
        web_url("entrypoint", 
                "URL=http://e34jbsl00430.devillo.com:8080/entrypoint/", 
                "TargetFrame=", 
                "Resource=0", 
                "RecContentType=text/html", 
                "Referer=",
                "Mode=HTML", 
                LAST);
    
        return 0;
    }
    
    Response Headers
    
    Cache-Control   no-cache, no-store
    
    Content-Length  0
    
    Date    Fri, 19 Apr 2013 13:49:51 GMT
    
    Expires Thu, 01 Jan 1970 00:00:00 GMT
    
    Location        http://e34jbsl00430.devillo.com:8080/entrypoint/?0
    
    Pragma  no-cache
    
    Server  Apache-Coyote/1.1
    
    Set-Cookie      ENTRYPOINT_JSESSIONID=WgfuCXmTF7VTCsmhWYvU-WY7; Path=/entrypoint; HttpOnly
    
    X-Frame-Options DENY
    
    
    
    Request Headers
    
    Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    
    Accept-Encoding gzip, deflate
    
    Accept-Language no,en-gb;q=0.7,en;q=0.3
    
    Connection      keep-alive
    
    Cookie  ENTRYPOINT_JSESSIONID=DnVj0xzyLaUOKfUEFIP6bpF-
    
    Host    e34jbsl00430.devillo.no:8080
    
    User-Agent      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
    
     

    ENTRYPOINT_JSESSIONID=WgfuCXmTF7VTCsmhWYvU-WY7;

    using

    **web_reg_save_param_regexp**("ParamName=pJSESSION","RegExp=JSESSIONID=(.*?);","Ordinal=ALL",SEARCH_FILTERS, "Scope=Cookies",LAST);

    web_add_header("Cookie","ENTRYPOINT_JSESSIONID={pJSESSION}");

  • 相关阅读:
    Spring学习(二) AOP 面向切面编程之概念(一)
    Spring学习(一) IOC容器学习
    多线程和同步分别有几种实现方法?
    如何理解"=="和equals方法
    &和&&的区别
    关于静态方法和非静态方法之间的调用
    缘来了,来园了
    Java设计模式-代理模式
    JavaBitSet学习
    kafka安装
  • 原文地址:https://www.cnblogs.com/qmfsun/p/4530021.html
Copyright © 2011-2022 走看看