Facebook Login using Jmeter

后端 未结 2 807
情深已故
情深已故 2021-01-27 07:27

I want to do a load test my Heroku application using Jmeter. To access the functionality of the application, I need to login through Facebook first. I tried with browser record

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 08:05

    I don't know the JMeter context, but the regex can be something like:

    \?code=(.*)
    

    You might need to double the backslash. The $ can be problematic if the header is checked as a whole, you can replace it with \n perhaps.

    [EDIT] I found the tester pointed from the JMeter page and used it against the header content you gave. Apparently the $ was not necessary, the search is stopping on a line bound. Still not sure about doubling the backslash. Experiment.

提交回复
热议问题