Posts

Showing posts from April, 2024

Free AI application available on internet

 Below are some free AI application which can be leveraged on day-to-day activities. ChatGPT :  https://chat.openai.com/ Perplexity AI: https://www.perplexity.ai/ Microsoft designer : https://designer.microsoft.com/ Suno AI : https://suno.com/

Correlation in JMeter

Correlation is the process of extracting information from the response of one request and using it in the request of another step at runtime. This is necessary when dynamic values from the response of previous requests needs to be passed in subsequent requests. Correlation is used in performance testing for dynamic websites, where the server responds to dynamic variables that keep on changing every time Correlation can be achieved using below components on need basis and these are part of post processor component group . Boundary Extractor :  It can be used when we have fixed right and left boundary of the dynamic value which needs to be captured.  Regular Expression Extractor : It can be used capture dynamic value based the regular expression. JSON Extractor :  It can be used capture dynamic value when the response is in JSON format. XPath/Xpath2 Extractor :  It can be used capture dynamic value from any HTML element using HTML expression. Xpath2 Extractor...

Create JMeter test plan for web page

To create a JMeter test plan for web testing, follow these steps: Create a Test Plan: A test plan is a container for running tests. It defines what to test and how to go about it. A complete test plan consists of one or more elements such as thread groups, logic controllers, sample-generating controllers, listeners, timers, assertions, and configuration elements. A test plan must have at least one thread group. Add a Thread Group: Thread Group elements are the beginning points of any test plan. All controllers and samplers must be under a thread group. The thread group element controls the number of threads JMeter will use to execute your test. You can configure the number of threads, ramp-up period, and the number of times to execute the test. Add Default HTTP Request Properties: You can define the default settings for your HTTP requests. This is where you specify the Web Server's Server Name/IP and other default settings. Add HTTP Requests: In this step, you specify the tasks tha...