Forum Discussion

mcmcmc's avatar
mcmcmc
New Contributor
13 years ago

Passing testsuite/testcase name to Protomatter Syslog

Since it's my first post as well as a thread on this forum, firstly I would like to say hello

I want to pass a name of a test suite and test case from soapUI to protomatter Syslog. I've tried a few menthods of solving this problem which I found on this forum (for ex: viewtopic.php?f=2&t=17814&p=41245&hilit=logging#p41377 ; viewtopic.php?f=2&t=17732&p=41069&hilit=logging#p41470 ), without success though.

Does anyone in here use Protomatter Syslog and could give me a hint, how could I do this?

Thank you in advance

Kind Regards,
Mateusz

2 Replies

  • mcmcmc's avatar
    mcmcmc
    New Contributor
    I managed to connect soapUI and CLogConfig (I just put .xml protomatter config file into bin folder of soapUI) and now it creates logs exactly where I want.
    However, I still don't know how to pass:
    - Name of testsuite,
    - Name of testcase,

    Could anyone provide me with instruction of doing that for other Tools? Maybe that might work for me.

    Cheers,
    Mateusz
  • Try:

    testRunner.testCase.testSuite.getLabel()
    testRunner.testCase.getLabel()

    Michael Giller
    SmartBear Software