Forum Discussion

SKoneru's avatar
SKoneru
Contributor
12 years ago

Generated log file name suppress special character -

HI,

In my build file, I specified the configuration option <exportAll>true</exportAll>, I noticed the files are being generated.
The generated file name follows the convention as testsuiteName-testcaseName-testStepName-{num}-{status}.txt
But when I created testsuite name or testcase name or testStep name with "-" in it then this is suppressed in the generated filename.
For example:- The test step name is named as "orderplacement-buy" the generated file name is displayed as "ts1-tc1-orderplacementbuy-0-OK.txt".
But it would be nice if we preserve the name that I provided and generate as "ts1-tc1-orderplacement-buy-0-OK.txt".

I am requesting this because in my custom JunitReport collector I am displaying the file as a link and noticed that it doesn't work because "-" is suppressed.

4 Replies

  • Hi!

    Sorry for not getting back to you for a while.
    Just to make sure, you are using the Maven 2 plugin correct?
    What version are you using?
    If possible, it would we of great value if you could provide the whole pom.xml file.


    --
    Regards

    Erik
    SmartBear Sweden
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    Hi,
    I've been able to reproduce the problem with the attached soapui project file with "Launch TestRunner" from the soapui application
    In the ouput directory, when activating the following reports parameter "export junit result" and "export all", all dash caracter are removed in txt files but also in junit result xml files

    So I suppect that the problem is not related to maven

    List of generated files
    TEST-testsuitenamewithdash.xml
    testsuitenamewithdash-TestCase_1__withdash-2ndGroovyScriptwithdashinname-0-OK.txt
    testsuitenamewithdash-TestCase_1__withdash-Groovy_Script-0-OK.txt
  • Hi!

    We've verified that this is a bug and have registered an issue for it in our bug tracker (SOAP-581).
    We'll let you know as soon as we have more information about this.

    Sorry for the inconvenience.

    --
    Regards

    Erik
    SmartBear Sweden