Skip to content

I cannot run the test code examples. #75

@brian-commerzbank

Description

@brian-commerzbank

Hi,
Apologies if this is a silly question, but I wanted to run the example "run-workload" and the "run-profiler", unfortunately no matter what I do I cannot get it to work, it complains about incorrect parameters (it is missing the config after absolute path to the .SO file in the agentpath part of the java command...).

It is as if I am missing some documentation on this ? The README.cmd that comes with the git dist only explains how to run the CLI ...

I get this when I try and run the workload -

make run-workload
cd src/java/src/test/java/;
java
-agentpath:/opt/devefx/jcoz-testing/master/build-64/liblagent.so
-cp $(readlink -f ../../../target/client*dependencies.jar):.
test.TestThreadSerial --fast
Missing options
usage: java -agentpath:<absolute_path_to_agent>=pkg=<package_name>_progress-point=class:line_no_end-to-end (optional)_warmup=<warmup_time_ms> (optional - default 5000 ms)
make: *** [run-workload] Error 1

It seems as if I need to configure the arguments to the agent, but I cannot see how to do this and get it to work...

Any advice much appreciated
Cheers
Brian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions