Need help with StresStimulus? Start here.
Multi factor authentication.
Unregistered User Posts: 475
2/19/2021
|
I would like to know if your tool support multi factor authentication and if it does could you please supply the configuration details or supporting documentation.
|
|
0
link
|
George @StresStimulus Administrator Posts: 510
2/19/2021
|
The short answer to your question is, it depends. The general challenge with load testing applications with multi-factor authentication is access to a "security token code" provided as a 2nd factor for authentication from the test script. Depending on your 2nd-factor authentication and how much control you have to configure it for load testing, you may or may not be able to load test your application with StresStimulus (or any other high-end load testing tool, for that purpose) For example, if the 2nd factor is a voice call, a token device, or a text message to a smartphone, the tool would not be able to access it automatically. As a result, on script replay, the authentication will fail. However, here are a few examples of how you can make it work: - if you can make the "security code" a constant, then the script will pass authentication out-of-the-box; - if a "security code" is a value from a dataset, then you can import the dataset in your script (http://support.stresstimulus.com/display/doc52/Importing+Datasets) and then parameterize the recorded security code with the dataset (http://support.stresstimulus.com/display/doc52/Creating+a+Parameter) - if a newly generated security code can be accessed via API or stored in a database, you can create a scriptable variable (http://support.stresstimulus.com/display/doc52/Scriptable+Variables) that returns its value to the script and use it to parameterize the recorded security code.
|
|
0
link
|
Copyright © 2023 Stimulus Technology