svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

Adding custom extension to perform non api actions #298

Open kaniket1234 opened 5 years ago

kaniket1234 commented 5 years ago

Hi,

I am new to pyrest world. Here is my test scenario: I have two systems. 1) System 1 is stand-alone utility which exposes api to generate data. It also has an api to export data in form of zip 2) System 2 consumes the data and also has set of apis to perform actions

The data generated by system 1 (zip) has to be copied into system 2 and then i have to restart a data consumer service to insert the data in system 2. I have automated the data generation in System 1 via pyrest. I have also automated the functional validation of system 2 apis using pyrest. But in between, i have to perform a manual step of copying the zip in system 2 and restart data consumer service. I was wondering if i can automate the copy of zip between systems and service restart functions via pyrest. If that is done, i can have truely automated end-to-end functionality