cancel
Showing results for 
Search instead for 
Did you mean: 

ReadyAPI Composite project. Can it be split by test case or is it only split by test suite?

Highlighted
New Contributor

ReadyAPI Composite project. Can it be split by test case or is it only split by test suite?

As title suggests, would it be possible to make a ReadyAPI project where the files are split by test case instead of the default split by test suite? 

 

This is so two people could work simultaneously on different test cases in the same suite

 

Thanks!

3 REPLIES 3
Highlighted
Community Hero

Re: ReadyAPI Composite project. Can it be split by test case or is it only split by test suite?

Hey @rbc-coop,

Youre using a composite project, right? The principal reason for storing your project as an unflattened composite rather than flat .xml file is to allow >=2 users simultaneous updates to a single project (as long as the users dont try to update the same testcase within the same checkout to ensure you dont get merge conflicts).

Why do you want to split the file....is it just so 2 users can update different testcases in same project? Cos the composite file handles that (assuming youre storing in a version controlled repo).

In regards to simultaneous updates to the same composite project's teststeps, i cant be certain cos each time ive worked on a composite project, we worked at testcase level updates not teststep updates, but im guessing as long as the simultaneous users dont update the same object within the project hierarchy (and the smallest object in hierarchy is a teststep) so as long as the simultaneous users dont update the same teststep (so no merge conflicts) then the updates to the same testcase should be fine. The other forum users may have a greater understanding about this than i do.

Hope ive been clear!

Nice one,

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
Community Manager

Re: ReadyAPI Composite project. Can it be split by test case or is it only split by test suite?

Thank you for explanation Richie!

 

@rbc-coop Does this help your situation? 


Sonya Mihaljova
Community and Education Specialist
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
New Contributor

Re: ReadyAPI Composite project. Can it be split by test case or is it only split by test suite?

Hello Richie, thanks for your explanation, it is good but this is not exactly the answer to my question though so I would like some clarification if you can.

 

When I update a normal readyAPI project into a composite project, it splits up the xml file into smaller files by Test Suite. Based on how you described it, if two people can work on two test cases WITHIN the same suite, then I guess there would be an option to also split it by Test Case.

 

Could you confirm if that is true and how could I split a readyAPI project into a composite project by Test Case instead of Test Suite?

 

Thanks!

 

 

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!


Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server
Top Kudoed Authors