Service Virtualization

  • 1.  Error while running testsuite's Mar file in Swagger

    Posted Dec 20, 2018 10:30 AM

    1.Created a Mar file for test suite (with multiple test cases).

    2.In Swagger used POST tests/run and uploaded the mar file created in step 1  and getting the below error on trying out.

    {"error":{"type":"WrongContentException","message":"MAR file doesn't represent a Test."}}

     

    Please help



  • 2.  Re: Error while running testsuite's Mar file in Swagger

    Broadcom Employee
    Posted Dec 20, 2018 11:21 AM

    What version of DevTest are you on?

     

    How did you create your MAR file?  



  • 3.  Re: Error while running testsuite's Mar file in Swagger

    Posted Dec 20, 2018 11:24 AM

    10.3.0



  • 4.  Re: Error while running testsuite's Mar file in Swagger

    Posted Dec 20, 2018 11:31 AM

    1.I created a Suite of test cases.

    2. Rightclick on suite and selected Create Mar Info file.

    3.Right click on Mari file and selected Build Model Archive.



  • 5.  Re: Error while running testsuite's Mar file in Swagger

    Broadcom Employee
    Posted Dec 20, 2018 04:24 PM

    Can you provide the exact swagger URL you ran, I am going to test this on my end.



  • 6.  Re: Error while running testsuite's Mar file in Swagger

    Broadcom Employee
    Posted Dec 21, 2018 02:31 PM