

I have noticed another thing, as I scroll down, before the content appears, I get

I have tried different looks&feels, all the same problem. Add Http Header, Cookie and Cache Manager before start recording the script.This is a fresh download of jmeter, no plugins.If you fail to identify your token values, you no need to worry – just take a break and restart your recording from the scratch. Handling Aura Token is more important in Lightning Scripts to generate an output.If your requirement is to create more than one record on a single run, y ou Just change the Number of Threads Users value in the Thread Group, o r you can use Loop Controller to handle a specific area.Now, you can run the Main Thread Group and check the final output on the Salesforce Lead Object (One Lead Record will get created with the customized value).To make the script refined and most effective for testing purpose, d isable the current Thread – Create a New Thread as Main and move the sorted main scripts from the Trial Thread Group to Main Thread Group.Now, replace the edited values to the message box and save the operation.Copy and paste the message values to a notepad and customize the values based on your requirement.Note: Salesforce Lighting scripts are something different from Salesforce Classic scripts. Sort and identify the lead creation area.Identify the Lead creation area, sort the script finer, and view the result on the Salesforce Lead Object: Now, replace the Aura token value to variable name for all Http requestsġ.In-between aura0 to aura1 replace the value to aura0Ģ.After aura1 Regular Expression, replace the value to aura1.So, I have added two Regular expressions with the variable name aura0 and aura1. In this Example, I have identified two Tokens one is in the Home Page and other one is on the Lead Home Page.Now, add a regular Expression to the identified Http Request, by giving a unique variable name.Once you have identified the Aura Token Rename the Http Request scripts, it will help us to sort the script effectively.Now, b ased on the result s using RegExp Tester search for Aura Token from top to bottom clicking the scripts manually in the View Results Tree Listener. You will get an initial output on the Tree Listener.Now, click Start Icon on the menu bar.To filter and to monitor the script activity status, we need to add View Tree Listener by right clicking on Thread Group > Add > Listener > View Results Tree.Note: Thread group is used to Execute the recorded script Now, copy & p aste the recoded scripts into the newly created Thread Group.Now, right click the Test Plan > Add > Threads (Users) > Thread Group.Now, come back to the JMeter tool and click the Stop button for stop recording.Fill in all the mandatory fields and save the Lead.Now, go to Firefox browser and enter your test salesforce login.Now, click the Start button on the HTTP(S) Test Script Recorder for recording.How to record the script for Lead Creation on Salesforce lightning ?

T his will save our time during our postscript recording works. This will add the default URL Patterns to exclude those while recording the main script s.
