cancel
Showing results for 
Search instead for 
Did you mean: 

Custom HTML reports - Need Your Contribution

Community Leader

Custom HTML reports - Need Your Contribution

Hi guys,

 

I am working on a custom HTML report for ReadyApi tests. This is how the report will look like:

 

2018-10-01_16h43_12.png

If you know html, css, javascript or groovy and you want to contribute the git project can be found here.



If my answer helped please click on the 'Accept as Solution' button.
17 REPLIES
Moderator

Re: Custom HTML reports

Lucian,

 

Thank you for sharing the project file!

Anastasia
Customer Care Team




Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

Community Leader

Re: Custom HTML reports

Sure, 

 

Still working on it. Hope it will help other people as well.

 

2018-10-04_10h06_55.png



If my answer helped please click on the 'Accept as Solution' button.
Moderator

Re: Custom HTML reports

Great initiative, @Lucian!

 

Do you have any specific requirements for the report? What information do you expect to be displayed? For now, I think we need something like a list of items that the report should include so that anyone could contribute.

 

Community, we are looking forward to your suggestions! Cat Wink

 

Let’s float this topic for a couple of weeks so that our Community members could have a look and contribute.


And, thanks again for sharing, Lucian!



Olga Terentieva,
SmartBear Assistant Community Manager
Community Leader

Re: Custom HTML reports

Report requirements:

- the user should have a navigation part (left side) and an editor part (right side) DONE

- the user should be able to use the navigation to select a test suite/ test case/ test step and see the corresponding details on the editor part DONE

 

- upon clicking a test suite/ test case the user should see the list of contained test cases/ test steps and their status exactly like you would see it in ReadyAPI GUI DONE

- upon clicking on a http/ rest/ soap test step the user should be able to see the raw request/ raw response in the editor part DONE

- upon clicking on a http/ rest/ soap test step the user should be able to see the assertions and their statuses DONE

- the user should be able to see exactly why some assertion failed (eg. expected vs actual result etc) DONE

- the user should be able to see what test are failed and what not directly from the navigator side DONE

- <ideally> there should be a filter to only see the failed test cases in the report DONE

- <nice to have> a number like "Failed test cases per total test cases" DONE

- more work has to be put into how we report other test steps types - for instance how do we report a jdbc request? how do we report a groovy script? DONE

 

Generating the report:

There are 2 options that I took into account so far for the actual generation:

1. Create a ReadyApi plugin - no idea how to do it yet or if it adds value.

2. Create a groovy Tear-Down script - probably the simplest and yet most efficient solution.

 

No work has been put in either of those methods of generating the report.

 

I will keep everyone posted with the progress on this. I am a little busy in this period so it might take a while Smiley Happy



If my answer helped please click on the 'Accept as Solution' button.
Moderator

Re: Custom HTML reports

What a great set, Lucian!
Community, any ideas on how to deal with the items currently unimplemented?

 


@Lucian wrote:

- upon clicking on a http/ rest/ soap test step the user should be able to see the raw request/ raw response in the editor part
- upon clicking on a http/ rest/ soap test step the user should be able to see the assertions and their statuses
- the user should be able to see exactly why some assertion failed (eg. expected vs actual result etc)
- more work has to be put into how we report other test steps types - for instance how do we report a jdbc request? how do we report a groovy script?

 

 

Olga Terentieva,
SmartBear Assistant Community Manager
Highlighted
Community Leader

Re: Custom HTML reports

WIP

2018-10-11_15h31_13.png



If my answer helped please click on the 'Accept as Solution' button.
Community Hero

Re: Custom HTML reports

I wish I had some of the skills you're looking for so that I could contribute, but this is awesome!




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
Community Leader

Re: Custom HTML reports

haha thx. It's actually pretty simple to do. I just requires some time... Man Very Happy



If my answer helped please click on the 'Accept as Solution' button.
Community Leader

Re: Custom HTML reports

2018-10-13_11h56_29.png



If my answer helped please click on the 'Accept as Solution' button.
Watch a Video Interview
Top Kudoed Authors
Are You In?

Meet the Community Leaders!

SmartBear Connect is an excellent opportunity for training, in-person support, and networking.

GET YOUR TICKET WITH $100 OFF