qa4ever
13 years agoNew Contributor
securitytestrunner, filter out assertions do not work
Hi,
after couple of scripts and some debugging that have given me gray hair, I've realized, that the -t automation/command line argument isn't working correctly.
It is parsed and read by the securitytestrunner.bat but settings in the settings file do not override those in the project.
Filter out [[Version x.y.z] Exposing version numbers gives] works within the SoapUI GUI, but not when automating. When running in the GUI, all tests are PASS with the soapui-settings.xml .
The problem is both setting/overriding the “Global Global Sensitive Information Tokens” while using SecurityTestRunner on command line, as well as starting the SecurityTestRunner from within SoapUI GUI.
The command line looks like this:
G:\123423412>"C:\Program Files\SmartBear\SoapUI-Pro-4.6.2\bin\securitytestrunner.bat" -ehttp://computer20:28136 -s"ServiceDirectoryBindingTypeTestSuite" -c"getServices ALL TestCase" -r -o -RHTML G:\123423412\wsServiceDirectory-soapui-project.xml -t G:\123423412\soapui-settings.xml
In the project and settings file I have removed certain [Version information] assertions in the “Global Global Sensitive Information Tokens”
Still when running the tests it reports: [Version x.y.z] on each and every method permutation call.
I've tested it in both 4.6.2 and 4.6.1 version.
I’m running on Windows 7 64 Bit as a local administrator.
Could you, please, investigate this?
Thank you,
Qa4Ever
after couple of scripts and some debugging that have given me gray hair, I've realized, that the -t automation/command line argument isn't working correctly.
It is parsed and read by the securitytestrunner.bat but settings in the settings file do not override those in the project.
Filter out [[Version x.y.z] Exposing version numbers gives] works within the SoapUI GUI, but not when automating. When running in the GUI, all tests are PASS with the soapui-settings.xml .
The problem is both setting/overriding the “Global Global Sensitive Information Tokens” while using SecurityTestRunner on command line, as well as starting the SecurityTestRunner from within SoapUI GUI.
The command line looks like this:
G:\123423412>"C:\Program Files\SmartBear\SoapUI-Pro-4.6.2\bin\securitytestrunner.bat" -ehttp://computer20:28136 -s"ServiceDirectoryBindingTypeTestSuite" -c"getServices ALL TestCase" -r -o -RHTML G:\123423412\wsServiceDirectory-soapui-project.xml -t G:\123423412\soapui-settings.xml
In the project and settings file I have removed certain [Version information] assertions in the “Global Global Sensitive Information Tokens”
Still when running the tests it reports: [Version x.y.z] on each and every method permutation call.
I've tested it in both 4.6.2 and 4.6.1 version.
I’m running on Windows 7 64 Bit as a local administrator.
Could you, please, investigate this?
Thank you,
Qa4Ever