Forum Discussion

AndyHughes's avatar
AndyHughes
Regular Contributor
15 years ago

Running fromt the command line.

I'm confused. Running the following from the command line worked last week

loadUI-cmd.bat "-DmyCustomEndpoint=http://search.yahooapis.com" -p C:\Users\andrew.hughes\.loadui\FixedLoadService1.xml -t FixedLoad1 -r c:\desktop -F csv

but now, running the same thing doesn't work

16:00:20,151 INFO [CommandRunner] Saving 'csv' reports to: c:\desktop
16:00:25,158 ERROR [CommandRunner] Agents not connectable: [AgentItemImpl[label
Agent 1]]
16:00:25,158 INFO [SoapUIProjectLoader] Releasing soapUI project [Rest]
Stopping Framework...

I also tried running the same thing but also using the -l command to run it locally, but the same thing happened.??

1 Reply

  • Hi,

    The error you're getting indicates that the TestCase is set to run on one or more agents, and at least one of them isn't connectable. This should work with the -l flag, but there is currently a bug which causes loadUI to connect to the agents even when in local mode (this will be fixed in the upcoming nightly build), so that is why it's not running even with the -l flag.

    Regards,
    Dain
    eviware.com