Forum Discussion

theplayer777's avatar
Frequent Visitor
9 years ago

CannotAcquireLockException with data driven testing in Soap UI



I'm doing some data driven testing using SOAP webservices which select and insert data in a MySQL database. Running them locally on my machine even with testrunner implementation in SoapUI return me no error and everything goes perfectly. When I run them through Jenkins with command line, It seems that I have a deadlock issue:


org.springframework.dao.CannotAcquireLockException: could not insert:....


I don't know how I could manage this and make it work. I tried to put some delay (2 seconds) between each test but it doesn't seems to solve the problem.


Thanks in advance for you help

1 Reply

  • nmrao's avatar
    Champion Level 3
    Please try to get more details such as simplest possible steps reproduce the issue, full stack trace, environment details including versions etc.