PeterB 0 Report post Posted June 27, 2016 I have a Scenario that runs fine with GUI, e.g. with 'WAPTPro.exe -run "D:\Dummy.wps"'.-WAPT UI is started, closes automatically when finished and logs/reports/results are created When I add the -noui option, e.g. 'WAPTPro.exe -run "D:\Dummy.wps" -noui', I can see that a WAPTPro.exe process is briefly started, then immediately closedNothing happened, no logs were created and %ERRORLEVEL% returns 1. How can I debug this issue further? I'm using WAPT Pro 4.0 Built May 30, 2016. Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted June 28, 2016 Please, run 'WAPTPro.exe -run "D:\Dummy.wps" -noui > run.log'. WAPT Pro should create the run.log file with console output. Please, give it to me. Quote Share this post Link to post Share on other sites
PeterB 0 Report post Posted June 28, 2016 Thanks for the quick response! Here is the log output: WAPT Pro > WAPT Pro 4.0 Built on May 30 2016WAPT Pro > Load settings from file: C:\ProgramData\Softlogica\WAPT\settings.xmlWAPT Pro > Load scenario OK: D:\Dummy.wps.WAPT Pro > Cannot create the report folder.WAPT Pro > FAILURE. Test parameters validation errorWAPT Pro > Load agent localhost connecting... --------- I played with different settings and found out that "CSV Data Output" seems to be the problem. When I untick "Save test results" then there is no error. Any other log settings like "Save Response time statistics", "Save HTLM report" and a full log do not lead to this error. And of course no error when I skip '-noui'. Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted June 30, 2016 WAPT Pro cannot create or access the report folder. Do you run WAPT Pro under the same user account with and without -noui option? If you start WAPT Pro under local system account it can't create folder under your account (this folder set up in the settings by default). Quote Share this post Link to post Share on other sites
PeterB 0 Report post Posted July 1, 2016 Everything is identical between both Scenarios. I call WAPT under my user from a *.bat file and simply edit the file by add/removing the "-noui" option. -> Works without, but not with "-noui" I have to add that WAPT was installed by another user on my machine. I can see that "C:\ProgramData\Softlogica\WAPT\settings.xml" does hold different settings for the CsvDirectory than what's configured in my WAPT. Could the CsvDir Setting be parsed from the wrong config file? I get "-noui" working by also adding "-csv <Folder/filename.csv>". Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted July 4, 2016 Could you send me your scenario and settings.xml files? Quote Share this post Link to post Share on other sites
sergei 0 Report post Posted July 5, 2016 We have fixed the bug, you can download the latest build from http://www.loadtestingtool.com/forum/builds/WAPTPro4.0.zip Please, try it and let me know the result. Quote Share this post Link to post Share on other sites