Need Help on Response Header corellation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need Help on Response Header corellation

Anil Gaur
Hi Guys,

Can I extract the Session value from request response header?
I found that in request response header a dynamic value is present which need to be correlated. How I can extract the same.


Response Header Value is:-
HTTP/1.1 302 Found
Date: Thu, 16 May 2019 15:42:16 GMT
Server: Apache
X-Frame-Options: DENY
Set-Cookie: SMSESSION=mIAxiflUQeuOvUvbI5XUbnaCEyhH56/W/5vu0UqumDzn3DPwHzg/WoKufziU5EITkqcG5z10bK/mZa9IKGHXs6phJZmujJEB9Tj/U5RbBo3jQLPHtIa2Z4aDkNlqzb0NJPCgSA3v3tLkc3/et62imOy4lLfFhkYE4G1WrY6Ww9PyPDupnbCoTZp5aDEc/84a8qu0Sjq6GDtR6WLaYJ0bnviUhVBVIT7774MaCKY/mifjTz3Nfo25ENi3JTOdk4sdd0tXSFXFRkwfhjjFunGaGq9vqdZP46T0iTU8lulS4Hj7EEs7SzMrXiNUblEwSNvDeC9FxX1tBkgITfhWfrK58QPAjOtJNjsXI41jBzDmvz3mRBUpiNa1lkgr2rAgU1eudANcdEe5bpo1ftsajh6o9tFTrYheilEcDAjIGPDJD8Y752RlhnT7cTDxDxz9iFlk5LCjGoMrLrW0GpykpZgdOFgTdQAtiC/YCB+b3bH8kyRBNcuiO6DUG4sb6m4y1zybRkK5OzZ6qlPZ+ZoTeG7mmLkczRyrNQMsa+T0RPTaL7qiAKNV9Z+9BBo+b9YUQ64y81Lq/CFbh/F4jECh6XVbnJodw5POpIKBciIn/9z44SREOtXDZ8stcgHwqJ103DrNMFL/ilAaijKMmE3uCzchEFNDWNjy+iw3yG5Y2tu8I9lmrRixlzIFoqW319zFuGSh1C7OiXMF6vI0b47xBKB96Xvou/ryQHhHI+G23CE5XmNVPkv34bvU7+BlD6GBvl3Lw9D591M4PqYTk9Sh+OJNri6soKUAkf2oMzrNVHQlzlYUQKNNP3TQGCArquWMPLbZt/Yk83wtZmEd7KeKjRH3F4MGz2MCcfjK8UUajDSOMg2tjpm7wv6VWif5HFRA8bjgzkRDK/3j08h8W0LYDg9Tp155GmFv+Xxu+lOKIOsVl78VM9cBfL7lWvt9AGgP0Dj2ICXZQRbv1seyYPJbsiTnXaMrubT3dXpYyG+PSxbe0D51S4wDI4UVcgNsQNmsLEimg+QG1w+w19+8oUI0tf55H/vLkymx+YHdw8IGJ8y/3p+2iCA7cWJ6smLmP2bnJzRMoDZqmF1GBbE/zqIZ3BppSHP5+fpmnOG+MZqcdeM4+B5J9RAFM/uoopNR2WZxNjqq; path=/; domain=hmsy.com
Cache-Control: no-store
Location: https://solarisplusdev.hms.com/
Content-Length: 282
nnCoection: close
Content-Type: text/html; charset=iso-8859-1
Set-Cookie: NSC_wjq.qspejen.intz.dpn.iuuqt=ffffffff09451e5645525d5f4f58455e445a4a423661;expires=Fri, 17-May-2019 03:58:21 GMT;path=/;secure;httponly




Regards
Anil
Reply | Threaded
Open this post in threaded view
|

Re: Need Help on Response Header corellation

Anmol Sarraf
Hi ,

Yes you can..just select response headers in regular expression extractor
and correlate it


On Thu, 16 May 2019 at 9:28 PM, Anil Gaur <[hidden email]> wrote:

> Hi Guys,
>
> Can I extract the Session value from request response header?
> I found that in request response header a dynamic value is present which
> need to be correlated. How I can extract the same.
>
>
> Response Header Value is:-
> HTTP/1.1 302 Found
> Date: Thu, 16 May 2019 15:42:16 GMT
> Server: Apache
> X-Frame-Options: DENY
> Set-Cookie:
> SMSESSION=mIAxiflUQeuOvUvbI5XUbnaCEyhH56/W/5vu0UqumDzn3DPwHzg/WoKufziU5EITkqcG5z10bK/mZa9IKGHXs6phJZmujJEB9Tj/U5RbBo3jQLPHtIa2Z4aDkNlqzb0NJPCgSA3v3tLkc3/et62imOy4lLfFhkYE4G1WrY6Ww9PyPDupnbCoTZp5aDEc/84a8qu0Sjq6GDtR6WLaYJ0bnviUhVBVIT7774MaCKY/mifjTz3Nfo25ENi3JTOdk4sdd0tXSFXFRkwfhjjFunGaGq9vqdZP46T0iTU8lulS4Hj7EEs7SzMrXiNUblEwSNvDeC9FxX1tBkgITfhWfrK58QPAjOtJNjsXI41jBzDmvz3mRBUpiNa1lkgr2rAgU1eudANcdEe5bpo1ftsajh6o9tFTrYheilEcDAjIGPDJD8Y752RlhnT7cTDxDxz9iFlk5LCjGoMrLrW0GpykpZgdOFgTdQAtiC/YCB+b3bH8kyRBNcuiO6DUG4sb6m4y1zybRkK5OzZ6qlPZ+ZoTeG7mmLkczRyrNQMsa+T0RPTaL7qiAKNV9Z+9BBo+b9YUQ64y81Lq/CFbh/F4jECh6XVbnJodw5POpIKBciIn/9z44SREOtXDZ8stcgHwqJ103DrNMFL/ilAaijKMmE3uCzchEFNDWNjy+iw3yG5Y2tu8I9lmrRixlzIFoqW319zFuGSh1C7OiXMF6vI0b47xBKB96Xvou/ryQHhHI+G23CE5XmNVPkv34bvU7+BlD6GBvl3Lw9D591M4PqYTk9Sh+OJNri6soKUAkf2oMzrNVHQlzlYUQKNNP3TQGCArquWMPLbZt/Yk83wtZmEd7KeKjRH3F4MGz2MCcfjK8UUajDSOMg2tjpm7wv6VWif5HFRA8bjgzkRDK/3j08h8W0LYDg9Tp155GmFv+Xxu+lOKIOsVl78VM9cBfL7lWvt9AGgP0Dj2ICXZQRbv1seyYPJbsiTnXaMrubT3dXpYyG+PSxbe0D51S4wDI4UVcgNsQNmsLEimg+QG1w+w19+8oUI0tf55H/vLkymx+YHdw8IGJ8y/3p+2iCA7cWJ6smLmP2bnJzRMoDZqmF1GBbE/zqIZ3BppSHP5+fpmnOG+MZqcdeM4+B5J9RAFM/uoopNR2WZxNjqq;
> path=/; domain=hmsy.com
> Cache-Control: no-store
> Location: https://solarisplusdev.hms.com/
> Content-Length: 282
> nnCoection: close
> Content-Type: text/html; charset=iso-8859-1
> Set-Cookie:
> NSC_wjq.qspejen.intz.dpn.iuuqt=ffffffff09451e5645525d5f4f58455e445a4a423661;expires=Fri,
> 17-May-2019 03:58:21 GMT;path=/;secure;httponly
>
>
>
>
> Regards
> Anil
>
Reply | Threaded
Open this post in threaded view
|

Re: Need Help on Response Header corellation

Shay Ginsbourg
In reply to this post by Anil Gaur
SMSESSION=(\S+);









On Thu, May 16, 2019 at 6:58 PM Anil Gaur <[hidden email]> wrote:

> Hi Guys,
>
> Can I extract the Session value from request response header?
> I found that in request response header a dynamic value is present which
> need to be correlated. How I can extract the same.
>
>
> Response Header Value is:-
> HTTP/1.1 302 Found
> Date: Thu, 16 May 2019 15:42:16 GMT
> Server: Apache
> X-Frame-Options: DENY
> Set-Cookie:
> SMSESSION=mIAxiflUQeuOvUvbI5XUbnaCEyhH56/W/5vu0UqumDzn3DPwHzg/WoKufziU5EITkqcG5z10bK/mZa9IKGHXs6phJZmujJEB9Tj/U5RbBo3jQLPHtIa2Z4aDkNlqzb0NJPCgSA3v3tLkc3/et62imOy4lLfFhkYE4G1WrY6Ww9PyPDupnbCoTZp5aDEc/84a8qu0Sjq6GDtR6WLaYJ0bnviUhVBVIT7774MaCKY/mifjTz3Nfo25ENi3JTOdk4sdd0tXSFXFRkwfhjjFunGaGq9vqdZP46T0iTU8lulS4Hj7EEs7SzMrXiNUblEwSNvDeC9FxX1tBkgITfhWfrK58QPAjOtJNjsXI41jBzDmvz3mRBUpiNa1lkgr2rAgU1eudANcdEe5bpo1ftsajh6o9tFTrYheilEcDAjIGPDJD8Y752RlhnT7cTDxDxz9iFlk5LCjGoMrLrW0GpykpZgdOFgTdQAtiC/YCB+b3bH8kyRBNcuiO6DUG4sb6m4y1zybRkK5OzZ6qlPZ+ZoTeG7mmLkczRyrNQMsa+T0RPTaL7qiAKNV9Z+9BBo+b9YUQ64y81Lq/CFbh/F4jECh6XVbnJodw5POpIKBciIn/9z44SREOtXDZ8stcgHwqJ103DrNMFL/ilAaijKMmE3uCzchEFNDWNjy+iw3yG5Y2tu8I9lmrRixlzIFoqW319zFuGSh1C7OiXMF6vI0b47xBKB96Xvou/ryQHhHI+G23CE5XmNVPkv34bvU7+BlD6GBvl3Lw9D591M4PqYTk9Sh+OJNri6soKUAkf2oMzrNVHQlzlYUQKNNP3TQGCArquWMPLbZt/Yk83wtZmEd7KeKjRH3F4MGz2MCcfjK8UUajDSOMg2tjpm7wv6VWif5HFRA8bjgzkRDK/3j08h8W0LYDg9Tp155GmFv+Xxu+lOKIOsVl78VM9cBfL7lWvt9AGgP0Dj2ICXZQRbv1seyYPJbsiTnXaMrubT3dXpYyG+PSxbe0D51S4wDI4UVcgNsQNmsLEimg+QG1w+w19+8oUI0tf55H/vLkymx+YHdw8IGJ8y/3p+2iCA7cWJ6smLmP2bnJzRMoDZqmF1GBbE/zqIZ3BppSHP5+fpmnOG+MZqcdeM4+B5J9RAFM/uoopNR2WZxNjqq;
> path=/; domain=hmsy.com
> Cache-Control: no-store
> Location: https://solarisplusdev.hms.com/
> Content-Length: 282
> nnCoection: close
> Content-Type: text/html; charset=iso-8859-1
> Set-Cookie:
> NSC_wjq.qspejen.intz.dpn.iuuqt=ffffffff09451e5645525d5f4f58455e445a4a423661;expires=Fri,
> 17-May-2019 03:58:21 GMT;path=/;secure;httponly
>
>
>
>
> Regards
> Anil
>


--

Sincerely,

*Shay Ginsbourg*
*Performance, Automation, and Load Testing Expert. *
*​Regulatory Affairs Consultant​ for Medical Software​.*
*Ginsbourg.com (Since 2008)*

Formerly QA Manager of LoadRunner at Mercury Interactive

M.Sc. cum laude in Bio-Medical Engineering
M.Sc. in Mechanical Engineering

Mobile:  +972(0)54-6690915
Email: [hidden email]

Visit my personal page on LinkedIn at:
http://www.linkedin.com/in/shayginsbourg


[image: Shay Ginsbourg on about.me]

Shay Ginsbourg
about.me/shayginsbourg
  <http://about.me/shayginsbourg>Please consider your environmental
responsibility before printing this e-mail.