• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

More than 75% request failures using JMeter...

 
Binoy Sankar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

This is my first post in the forum. so please excuse me if this topic is relevant here.
Am using JMeter to run multiple requests for testing the application. The sampler used in Jmeter is Webservice(SOAP) request. The settings for the Thread group in JMeter is 10 users/threads which run for 10 min.

The requirement for my application is that the code does a SELECT query to get all the records in the db for the particular category and inserts the newly created data(which is fairly simple logic). The probs is that when I use the soapUI tool to send one request at a time it successfully returns the response. But when used in JMeter with the above settings
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SIAM_NFR_I2_3.MASTER_AGREEMENT_UK1) violated
occurs. As its a JPA implementation I have specified the one-to-many relationship with CascadeType.ALL in the Entity class. With the in-depth debugging found that multiple threads which JMeter creates executes concurrently and creates the same (read masteragreementcode) which is the a unique code. I have made the method synchronized but it's of no help.
I hope you understood the requirement/problem else I can explain more .


Thanks
Binoy
 
Binoy Sankar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No body here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic