Linux cmd line run_graph issue

I am trying to run a graph in linux from a cmd line and each time it is defaulting to the default sandbox and not finding the graph.

I am using the following syntax:


wget --http-user=${userName} --http-passwd=${userPass} -q http://localhost:8080/clover/request_processor/graph_run?graphID=${graphName.grf}&sandbox=${sandboxName}

any ideas why it tries to run in a different sandbox?

Hi mramczyk,

you can test HTTP api on page:

http://[your_server_url]:[your_port]/clover/httpapi.jsp

I see few (possible) problems in your url:
* graphID must contain path, so eg. “graph/test.grf”, encoded “graph%2Ftest.grf”
* sandbox is not sanbox name (acts just as label), but sandbox ID

I hope this helps.