You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Heinz Karsten Hiekmann <k....@andagon.com> on 2016/11/12 13:44:09 UTC

Test coverage confirmation, please.

Hello to all,

I set up JMeter in IntelliJ IDEA and ran all tests with coverage because I want to contribute by writing tests.

All tests passed and I would appreciate anyone's confirmation of the coverage numbers of which I made a screenshot [0].  My uncertainty roots in the fact that I had some trouble to import JMeter and I am unsure whether I have missed something.

Also, any recommendation where to start writing tests is deeply appreciated.

Best regards,

                Karsten HIekmann


[0]: https://imagebin.ca/v/31jEn0JDURqv

Re: Test coverage confirmation, please.

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello Heinz,
You proposed few time ago to contribute to test unit.
Since then, sonar has been implemented (thanks Felix) on project, you can
see result here:

   - https://builds.apache.org/analysis

This will show you coverage and other precious informations.

Contributions welcome.

Regards

On Sat, Nov 12, 2016 at 7:20 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hi Again,
>
> Link for coverage report:
> - http://ubikloadpack.com/demo/coverage/
>
> Regarding tests, if the question is which parts we want to test then by
> priority I see:
>
>    - Controllers
>    - HTTP Request (the domain is very large):
>       - HeaderManager
>       - Cookie Manager
>       - Https and client certificates
>       - ...
>       - Extractors (Regex, CSS/JQuery, JSON , XPath)
>    - CSV Data Set
>    - HTML Report
>    - Response Assertion
>
>
> Also for your information, we use 3 types of Testing :
>
>    - JUnit 3
>    - Junit 4 (preferred way for your new tests)
>    - Batch Test, we create plans that relate to some bugs and run them.
>    This is fast to write but does not allow to test everything. It's more of
>    integration testing.
>
> Regards
>
>
>
> On Sat, Nov 12, 2016 at 6:27 PM, Philippe Mouawad <
> philippe.mouawad@gmail.com> wrote:
>
>> Hello,
>> First thanks for having intention to help us on the project.
>>
>> You can read this on building and setting up project:
>>
>> - http://jmeter.apache.org/building.html
>>
>> It's for eclipse but you should have the informations required for
>> intellij.
>>
>> Regarding coverage, I am not clearly able to read/understand the
>> screenshot.
>>
>> But anyway, there is an ant task "test" that lets you run tests for
>> JMeter.
>>
>> A Jacomo coverage report build has been commited thanks to a
>> contributor few hours ago, I could share results with you.
>>
>> Regards
>>
>> On Saturday, November 12, 2016, Heinz Karsten Hiekmann <
>> k.hiekmann@andagon.com> wrote:
>>
>>> Hello to all,
>>>
>>>
>>>
>>> I set up JMeter in IntelliJ IDEA and ran all tests with coverage because
>>> I want to contribute by writing tests.
>>>
>>>
>>>
>>> All tests passed and I would appreciate anyone’s confirmation of the
>>> coverage numbers of which I made a screenshot [0].  My uncertainty roots in
>>> the fact that I had some trouble to import JMeter and I am unsure whether I
>>> have missed something.
>>>
>>>
>>>
>>> Also, any recommendation where to start writing tests is deeply
>>> appreciated.
>>>
>>>
>>>
>>> Best regards,
>>>
>>>
>>>
>>>                 Karsten HIekmann
>>>
>>>
>>>
>>>
>>>
>>> [0]: https://imagebin.ca/v/31jEn0JDURqv
>>>
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>
>>
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Re: Test coverage confirmation, please.

Posted by Philippe Mouawad <ph...@gmail.com>.
Hi Again,

Link for coverage report:
- http://ubikloadpack.com/demo/coverage/

Regarding tests, if the question is which parts we want to test then by
priority I see:

   - Controllers
   - HTTP Request (the domain is very large):
      - HeaderManager
      - Cookie Manager
      - Https and client certificates
      - ...
      - Extractors (Regex, CSS/JQuery, JSON , XPath)
   - CSV Data Set
   - HTML Report
   - Response Assertion


Also for your information, we use 3 types of Testing :

   - JUnit 3
   - Junit 4 (preferred way for your new tests)
   - Batch Test, we create plans that relate to some bugs and run them.
   This is fast to write but does not allow to test everything. It's more of
   integration testing.

Regards



On Sat, Nov 12, 2016 at 6:27 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Hello,
> First thanks for having intention to help us on the project.
>
> You can read this on building and setting up project:
>
> - http://jmeter.apache.org/building.html
>
> It's for eclipse but you should have the informations required for
> intellij.
>
> Regarding coverage, I am not clearly able to read/understand the
> screenshot.
>
> But anyway, there is an ant task "test" that lets you run tests for JMeter.
>
> A Jacomo coverage report build has been commited thanks to a
> contributor few hours ago, I could share results with you.
>
> Regards
>
> On Saturday, November 12, 2016, Heinz Karsten Hiekmann <
> k.hiekmann@andagon.com> wrote:
>
>> Hello to all,
>>
>>
>>
>> I set up JMeter in IntelliJ IDEA and ran all tests with coverage because
>> I want to contribute by writing tests.
>>
>>
>>
>> All tests passed and I would appreciate anyone’s confirmation of the
>> coverage numbers of which I made a screenshot [0].  My uncertainty roots in
>> the fact that I had some trouble to import JMeter and I am unsure whether I
>> have missed something.
>>
>>
>>
>> Also, any recommendation where to start writing tests is deeply
>> appreciated.
>>
>>
>>
>> Best regards,
>>
>>
>>
>>                 Karsten HIekmann
>>
>>
>>
>>
>>
>> [0]: https://imagebin.ca/v/31jEn0JDURqv
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>
>
>
>


-- 
Cordialement.
Philippe Mouawad.

Re: Test coverage confirmation, please.

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
First thanks for having intention to help us on the project.

You can read this on building and setting up project:

- http://jmeter.apache.org/building.html

It's for eclipse but you should have the informations required for intellij.

Regarding coverage, I am not clearly able to read/understand the screenshot.

But anyway, there is an ant task "test" that lets you run tests for JMeter.

A Jacomo coverage report build has been commited thanks to a
contributor few hours ago, I could share results with you.

Regards

On Saturday, November 12, 2016, Heinz Karsten Hiekmann <
k.hiekmann@andagon.com> wrote:

> Hello to all,
>
>
>
> I set up JMeter in IntelliJ IDEA and ran all tests with coverage because I
> want to contribute by writing tests.
>
>
>
> All tests passed and I would appreciate anyone’s confirmation of the
> coverage numbers of which I made a screenshot [0].  My uncertainty roots in
> the fact that I had some trouble to import JMeter and I am unsure whether I
> have missed something.
>
>
>
> Also, any recommendation where to start writing tests is deeply
> appreciated.
>
>
>
> Best regards,
>
>
>
>                 Karsten HIekmann
>
>
>
>
>
> [0]: https://imagebin.ca/v/31jEn0JDURqv
>


-- 
Cordialement.
Philippe Mouawad.