Forum Discussion

prajakta's avatar
prajakta
Occasional Contributor
5 years ago

Reprt of readyAPi

Requirement of report  -

1) request

2)response

3)why teststep  pass

4)Why teststep fail

5)method

6)End point

7)Assertions

8)Testcase name

9)test suite name

please find attached for approach and follow that .

We need report in Pdf format.

How to write  teardownscript and setupscript  in readyAPI ?

  • nmrao's avatar
    nmrao
    Champion Level 3
    Looks you have come up with approach and groovy script. What is the issue?

    And why do you need all the above things in the report?
    There couple of factors that needs to be considered.

    - Who is the target audience for the report?

    - Request and response can be collected easily. However, imagine the time that will be spend to generate and amount of memory required if there are thousands of tests. Why are these required if the tests are passed? Of course, for that good assertions to be in place so that the test is passed all the checks. The tool any way captures them if the test fails which might actually interested for the responsible engineer.

    - When the test is failed it will have the end point details.

    - The tool can generate the report in pdf format. Use testrunner utility to execute the tests with appropriate reporting options and these designed based on wide usage and standards. And the tool allows to customize the reports. Please try them before writing our own.
    https://support.smartbear.com/readyapi/docs/testing/reports/getting-started.html
    https://support.smartbear.com/readyapi/docs/testing/reports/index.html
    • prajakta's avatar
      prajakta
      Occasional Contributor

      why do you need all the above things in the report?
      There couple of factors that needs to be considered.

      ===>Its organization requirement.

      • nmrao's avatar
        nmrao
        Champion Level 3
        I didn't expect an answer; rather introspect and discuss with the team and decide what is required and why. What are the shorts falls of using standard reporting and possible easy customization.