Jump to content


Photo

Command Line -noui option

Command Line

  • Please log in to reply
6 replies to this topic

#1 PeterB

PeterB

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 27 June 2016 - 02:30 PM

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 closed
Nothing 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.



#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 28 June 2016 - 05:38 AM

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.


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#3 PeterB

PeterB

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 28 June 2016 - 06:19 AM

Thanks for the quick response!

 

Here is the log output:

WAPT Pro > WAPT Pro 4.0 Built on May 30 2016
WAPT Pro > Load settings from file: C:\ProgramData\Softlogica\WAPT\settings.xml
WAPT Pro > Load scenario OK: D:\Dummy.wps.
WAPT Pro > Cannot create the report folder.
WAPT Pro > FAILURE. Test parameters validation error
WAPT 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'.

 



#4 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 30 June 2016 - 09:47 AM

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).


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#5 PeterB

PeterB

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 01 July 2016 - 02:23 PM

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>".



#6 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 04 July 2016 - 06:52 AM

Could you send me your scenario and settings.xml files?


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#7 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 662 posts

Posted 05 July 2016 - 07:00 AM

We have fixed the bug, you can download the latest build from http://www.loadtesti.../WAPTPro4.0.zip

Please, try it and let me know the result.


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users