Italian Trulli

Concurrency Testing In Software Testing With Example

Test Tribe
Concurrency Testing In Software Testing with Example
What is concurrency Testing?

Concurrency testing is a testing technique performed to identify the defect in an application when a number of users are logged in at the same time and perform the same action. This is also called multi-user testing. In software testing concurrency play a significant role, it helps in detecting and measuring the problem in system parameter as -
  • Response Time 
  • Throughput 
  • Lock 
  • Deadlock 
  • System crashed 

Example of Concurrency Testing
A real-time example of concurrency testing is given below.

Tatkal Ticket Booking :
The best and most straightforward example of concurrent testing is Tatkal train ticket booking, where multiple users try to log in to IRCTC at the same time ie.10 and 11 with different platforms.

Concurrency Testing Tools
There is no. of concurrency testing tool available in the market some of the most widely tool is given below.
  • Load Runner
  • Jmeter -we can perform concurrency testing using jmeter 
  • Selenium 
Concurrency Testing Method
To perform the concurrent testing follow the below steps.
  • Create Plan 
  • Analyze the test Plan 
  • Define the scope
  • Create scenarios 
  • Create Environment 
  • Now Execute the plan
Why do we do Concurrency Testing?
  • Concurrency testing helps to identify the effect of accessing the same database record when multiple users perform the same action same time.
  • It also helps to identify the effect of accessing the same module when multiple users perform the same action same time.
  • Concurrency helps improve the robustness and reliability of concurrent programs. 
Advantage Concurrency Testing : 
  • Concurrency Testing helps to check the effect on the system when multiple users perform the same action at the same time. Concurrency Testing helps in improving the robustness of concurrent programs. 
  • Concurrency Testing is used to identify issues like deadlock, increased response time, and system crashes.
Disadvantage of Concurrency Testing :
  • For concurrency, testing needs to test on multiple platforms. For concurrency, testing requires more intensive tests.
  •  In concurrency testing, most of the defects are time-related and difficult to reproduce. 
  • For concurrency testing creating test cases are very difficult job tester needs to interact with the developer daily basis. 
  • While performing the concurrency testing there are chances that new errors may occur in the code.

Hope!!! The above tutorial on concurrency testing with examples is helpful for you ...

QA acharya

Tags: Concurrency testing example, Concurrency testing tools, Concurrency testing technique, Concurrency definition, Concurrency testing method

Concurrency Testing With Example 


Post a Comment