DLapus
11 years agoOccasional Contributor
Caching issues - Environment Testings
We have a composite project with different environments (testing, staging) set up, and the default is testing environment.
The two environments have different end points and JDBC connections (different database server and port #).
We run the project in different environments from the command line by using the following commands:
- default (testing)
testrunner.bat -j -M -A -r -f "c:\soapui\RegressionResults\testing" -EDefault "c:\soapui\projects\project"
- staging
testrunner.bat -j -M -A -r -f "c:\soapui\RegressionResults\staging" -Estaging "c:\soapui\projects\project"
The default (testing) run is working properly. However, many test cases failed in the stating run because the values returned from the data source are incorrect.
They seems to be the cached values from previous run (testing).
We have set cache definitions option to FALSE at the project level.
Is there any setting that clears the cache after each run?
Please advise. Thanks!
The two environments have different end points and JDBC connections (different database server and port #).
We run the project in different environments from the command line by using the following commands:
- default (testing)
testrunner.bat -j -M -A -r -f "c:\soapui\RegressionResults\testing" -EDefault "c:\soapui\projects\project"
- staging
testrunner.bat -j -M -A -r -f "c:\soapui\RegressionResults\staging" -Estaging "c:\soapui\projects\project"
The default (testing) run is working properly. However, many test cases failed in the stating run because the values returned from the data source are incorrect.
They seems to be the cached values from previous run (testing).
We have set cache definitions option to FALSE at the project level.
Is there any setting that clears the cache after each run?
Please advise. Thanks!