Forum Discussion

glamonta's avatar
glamonta
Occasional Contributor
14 years ago

[Resolved] testrunner.bat compress or deflate argument

When I run tests using the command line interface (testrunner.bat), I get an error, but when I run in the UI it works. What I discovered is that it works with compression turned off, but it gets the same error when compression is turned on. is there a way to turn off compression in command line?

Thanks,
Gary

5 Replies

  • Hello,

    hm.. did you save preferences/project before running it from command line ?

    Regards,
    Vladimir
    SmartBear Software
  • glamonta's avatar
    glamonta
    Occasional Contributor
    Hi Vladimir,

    I don't usually open it in the UI, I create the project dynamically and run it. I used the UI to try out different options and that's when I found the compression option difference.

    Thanks,
    Gary
  • glamonta's avatar
    glamonta
    Occasional Contributor
    Since this has gone on unanswered, I'm going to take a guess here and say that there isn't a way to turn off compression when executing from command line.
  • glamonta's avatar
    glamonta
    Occasional Contributor
    After trying a couple dozen different combinations, I found the solution. If you code the following in your command line:

    testrunner.bat -G RESPONSE_COMPRESSION=(\"Accept compressed responses from hosts\",false) ...

    it will work; At least for me it does.