Ask Your Question
0

Parallel/Concurrent test configuration using TEMPEST

asked 2014-07-13 00:00:58 -0500

vinayd gravatar image

updated 2014-07-13 00:04:28 -0500

Hi,

I have been using the TEMPEST for my REST API's testing, now that we want to test parallel/concurrent test cases, i wanted to know if anyone of you have tried to execute or code the parallel/concurrent testcases.If yes request them to please help me out on this

Thanks, Vinay

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-07-13 01:59:19 -0500

Rushi Agrawal gravatar image

It does actually runs tests in parallel. If you want to explicitly run that command, see this part from Tempest readme: https://github.com/openstack/tempest#quickstart (https://github.com/openstack/tempest#...)

It shows you can run tempest tests using the 'testr' tool by running this command: testr run --parallel. If you want to convince yourself further, roughly count the times of the passing tests, and you will find out that the total time displayed for those tests is more than the time elapsed.

edit flag offensive delete link more

Comments

Is there any possibility to run same thing using nosetests...?

vinayd gravatar imagevinayd ( 2014-07-13 11:16:47 -0500 )edit
0

answered 2014-07-13 00:45:11 -0500

koolhead17 gravatar image

http://docs.openstack.org/developer/t... << Is this what you are looking for?

edit flag offensive delete link more

Comments

Hi,

Thanks a lot for the info, actually i had gone through this doc, before posting the question... but somehow i am not convinced that tempest by default runs the tests in parallel, because i dont see that info in my logs, as it takes each test one-by-one and executes it.

So i wanted to know if there is anyway where i can use those multiprocessor enabled parameter to run testcases

Please suggest on the same.

Thanks, Vinay

vinayd gravatar imagevinayd ( 2014-07-13 01:07:09 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-13 00:00:58 -0500

Seen: 538 times

Last updated: Jul 13 '14