I have a set of 60 testcases in a project in SoapUI that I want to run concurrently. Each testcase needs to use a value to work. The values are stored in an external file (spreadsheet or textfile). Each testcase needs to get a value from this file and use it. However when I run the testsuite, multiple tests are picking up the same value however only one value can be used for a test (same value cannot be used in more than 1 test at the same time). I would like the external file to be accessed by one testcase at a time in soapUI. Does this involve locking or some sort of queueing system or what groovyscript could I use? thanks
Using GroovyScript in SoapUI to access and lock an external file
841 Views Asked by user3069990 At
1
There are 1 best solutions below
Related Questions in GROOVY
- spring-integration-dsl-groovy-http return null when i use httpGet method
- groovy xml namespace definition used in attribute value lost after XmlParse/serialize
- jenkins with groovy postbuild .Not able to execute anything in groovy script field
- How can I set the the expected Exception type for a catch statement with a parameter I've passed into a method?
- How to add quotes into sql where clause in Groovy script?
- integrating groovy with api
- java.util.ConcurrentModificationException on cloneEntity
- jenkins (or groovy) using pom.xml from previous execution
- How to use multiple classes in multiple files in scripts?
- How to work around Groovy's XmlSlurper refusing to parse HTML due to DOCTYPE and DTD restrictions?
- Workaround for lack of generators/yield keyword in Groovy
- Groovy's @CompileStatic and map constructors
- Java syntax to Groovy syntax
- Groovy TimeDuration Argument Types
- Elasticsearch : _score always 0 in Groovy script
Related Questions in LOCKING
- Excel 2013, Cells Will Not Protect
- Persist the value of one column in two simultaneous update
- Expired time for acquiring lock pentaho
- JPA JPQL Lock not working
- Erratic StampedLock.unlock(long) behaviour?
- Hazelcast Distributed Lock with iMap
- Hibernate increments version on both sides of many to many association
- I want to sleep while holding a mutex
- Simultaneous DML operations on same table based on different where clause
- Penalty of AtomicVariables over locks in Java
- Java combine explicit locks with synchronized methods
- lock function in php only for one user
- Multiple Simultaneous file writes with HMC4 on Classic ASP
- Java Multithreading - What Really Happens When Accessing A "Locked" Object?
- Mysql table simultaneous update of rows in single table
Related Questions in SOAPUI
- Can I automate SoapUI with C#?
- Outgoing WSS authorization from WebRequest C#
- SoapUI XPath assertion - wildcard string with Excel dataSource
- compare line by line failed teststep response to a teststep "assertion contains" using groovy script soapui
- null object error when calling code from script assertion - soapui (creating test Runner in script assertion)
- null pointer exception in soapui groovy script
- SoapUI (Ready! API) uses same HTTP Authorization for Proxy
- for loop only reading one row
- list of test step results in groovy script
- xPath of JSON response in soapUI
- How to get testStep responseAsXml in groovyScript
- Using Groovy/Java to pass Read SOAP request through to Update SOAP request in SOAPUI
- SoapUI correlation (property transfer)
- Trouble writing data into a xlsx file using Apache POI - Excel becomes corrupted afterwards
- Ruby Savon 2 gem: cannot specify XML child and sub-child elements to make valid request to SOAP API Webservice
Related Questions in LOCKFILE
- Using GroovyScript in SoapUI to access and lock an external file
- How to properly delete lockfile in a python abstract class?
- Prevent other terminals from running a script while another terminal is using it
- How to check if a file is being edited? (Ruby)
- devtools::check - System command 'Rcmd.exe' failed, exit stauts:1, stdout + stderr:
- What is the best way to ensure only one instance of a Bash script is running?
- Installing gitosis plugin in bitnami redmine missing lockfile
- Ensuring security of my files at web server
- renv 0.12.0 was loaded from project library, but renv 0.11.0 is recorded in lockfile
- Proper way to handle a lock file on rebase conflict
- backup script requires a pid lock to prevent multiple instances
- NPM5 Package LockFile
- Why does cargo build ignore the lock file when lock changed by git?
- Gradle: No matching variant was found
- Do I commit the package-lock.json file created by npm 5?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I can't figure out how to get this to work with your external file, but I can think of another way only using SoapUI. Here's my suggestion for a solution:
As I'm typing this, I just realized this only works with the pro version of SoapUI. If you don't have a license you can get a trial from the website.