In the SAML-based Authentication process, THE HTML form returned by IDP to the client contains a lot of Authentication information, such as XSRF Token.

An example would look like this:

I now want to extract this field from jMeter.

practice

Using Regular Expression Extractor in jMeter:

Name = “xsrfProtection” (type = “hidden”)? Value = “[]” ‘ ‘

As a result of the test, the token was successfully extracted as I expected.

[imG-F90JUa5J-1566696008834]The upload – images. Jianshu. IO/upload_imag…”: