End to end test cases Generations
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020
10:33 AM
04-09-2020
10:33 AM
End to end test cases Generations
Hi Team,
I have a Data Driven Component test cases for multiple components... (Excel fies)
I would like to combbine these test cases and form End to End cases..
Looking to some one who can flash some knowledge on this...
Solved! Go to Solution.
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020
11:40 AM
04-09-2020
11:40 AM
Some confusion with the summary "End to end test cases Generations". What do you mean by that?
ReadyAPI can be used to design you tests according to your business flows which may include calling multiple REST methods, passing the data between the steps. So, user have to design these tests.
Regards,
Rao.
ReadyAPI can be used to design you tests according to your business flows which may include calling multiple REST methods, passing the data between the steps. So, user have to design these tests.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2020
01:01 PM
04-09-2020
01:01 PM
Hi @venkireddy1991,
Just adding to Rao's comment.
Api testing allows you to do what can be termed point to point testing, so each point where a message is created/transformed/validated/consumed by database would include point to point tests.
Example
So if systemA generates a message (.json) that is published to an esb, the adaptor transforms to xml/soap which is then pushed to a listening, validated webservice (systemB) which then writes message to database.
In the above example, i before now would create point to point tests to verify the adaptors transformations checking the following transformations: file (.json to soap), field (json "addressline1" to soap <line1> and <line2>) and value ("addressline1":"29 bennett road" to <line1>29</line1><line2>bennett road</line2>) and i'd create point to point tests to verify the soap message is consumed via the validated listening webservice and writes to database for schema valid requests and that schema invalid requests are rejected at the webservice validation.
So in the above scenario i have types of point to point tests. The adaptor tests and the webservice tests and i'd ensure (depending on risk and prioritisation) that most if not all thr relevant permutations were exercised from my point to point tests.
If you consider the above, there is a small test coverage gap as in my tests as im not using the systemA front end to generate the initial messages that are consumed via the esb.....i.e. the point to point tests do not verify thst systemA can successfully create the .json messages that are published to the esb, hence i would have a very small number of SIT/end to end tests that are created to cover off the coverage gap.
These SIT/end to end tests would require using systemA's front end to generate the messages. So id either do this manually or quite often if systemA and systemB are both browser based, id automate my SIT/end to end tests using something like Selenium to record using systemA to create and publish message and then id use Selenium to record the message appearing within the front end of systemB.
Do you mean end to end in this sort of scenario? ReadyAPI! is an API testing tool, and you can test APIs from a customer perspective using BDDs and gherkin syntax within ReadyAPI!, but ive never seen any value on writing your soapui tests using BDD style.
Does this help?
Can you clarify a bit more?
Cheers,
Rich
Just adding to Rao's comment.
Api testing allows you to do what can be termed point to point testing, so each point where a message is created/transformed/validated/consumed by database would include point to point tests.
Example
So if systemA generates a message (.json) that is published to an esb, the adaptor transforms to xml/soap which is then pushed to a listening, validated webservice (systemB) which then writes message to database.
In the above example, i before now would create point to point tests to verify the adaptors transformations checking the following transformations: file (.json to soap), field (json "addressline1" to soap <line1> and <line2>) and value ("addressline1":"29 bennett road" to <line1>29</line1><line2>bennett road</line2>) and i'd create point to point tests to verify the soap message is consumed via the validated listening webservice and writes to database for schema valid requests and that schema invalid requests are rejected at the webservice validation.
So in the above scenario i have types of point to point tests. The adaptor tests and the webservice tests and i'd ensure (depending on risk and prioritisation) that most if not all thr relevant permutations were exercised from my point to point tests.
If you consider the above, there is a small test coverage gap as in my tests as im not using the systemA front end to generate the initial messages that are consumed via the esb.....i.e. the point to point tests do not verify thst systemA can successfully create the .json messages that are published to the esb, hence i would have a very small number of SIT/end to end tests that are created to cover off the coverage gap.
These SIT/end to end tests would require using systemA's front end to generate the messages. So id either do this manually or quite often if systemA and systemB are both browser based, id automate my SIT/end to end tests using something like Selenium to record using systemA to create and publish message and then id use Selenium to record the message appearing within the front end of systemB.
Do you mean end to end in this sort of scenario? ReadyAPI! is an API testing tool, and you can test APIs from a customer perspective using BDDs and gherkin syntax within ReadyAPI!, but ive never seen any value on writing your soapui tests using BDD style.
Does this help?
Can you clarify a bit more?
Cheers,
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2020
11:34 PM
04-15-2020
11:34 PM
Richie, Rao, thank you for help! This is appreciated.
@venkireddy1991 Did the advice help? Let us know.
If you still require help, please fill us in on more details as the Community is asking. Thank you.
Sonya Mihaljova
Community and Education Specialist
