Search code examples
jmeterjmeter-maven-plugin

How do I set the program session amount by Jmeter


I want to send the amount that the program has put in the session at another address as a parameter

 $datauser = \App\userazmoon::where('id', '=', 
   Session::get('user_profile'))>first();

 if($datauser != ""){
     $datarec = \App\azmoon::with('category')->find(Session::get('user_az'));
  }else{
     return Redirect::to('/')->with('msgerror','not found');
  }

I need for an address that I call

I send the amount of data that is in the server session

Using jmeter

In the image below, two values are entered into the session.

Session :: put ('user_profile', $ find_user-> id);

Session :: put ('user_az', $ request-> get ('inp_x1'));

image one And in the picture below I would like to use these sessions

In fact, I can get the amount of session created in the previous address in a

new address by jmeter to handle

image two


Solution

  • Hello After a few days I found the answer And send it "Csrf" is on a per request basis.

    Of course, the use of headers is also required

    HTTP Authorization Manager

    HTTP Cookie Manager

    HTTP Cache Manager