cancel
Showing results for 
Search instead for 
Did you mean: 

Develop a Script [part V] – Win in API Summer!

Moderator

Develop a Script [part V] – Win in API Summer!

Hi all,

 

It’s time for another portion of additional tasks for our API Summer 2018. Create scripts based on the tasks below and get two points to your score.

 

  • Operating with REST Interfaces and Requests

Create a script which posts REST Interfaces structures of a current project to a text file. Under each method, list names of functional REST Request Test Steps for this method. The format of the file is arbitrary (whatever looks more reasonable and readable for you). Example: https://www.screencast.com/t/WVmvALNW2Ds

  • Groovy DataSource

Create a script for Groovy DataSource, which generates the JSON payload of the following format, where, in each iteration, one element has a string value (read from an Excel file https://www.screencast.com/t/mvIbICiHa) and the others are "null":

First iteration

{

"x1": "val1",

"x2": null,

"x3": null,

"x4": null,

"x5": null

Second iteration

{

"x1": null,

"x2": "val2",

"x3": null,

"x4": null,

"x5": null

}

etc. 

 

Share with us your scripts or create your own how-to's. Just don’t forget to create new topics for this.

I hope you enjoy API Summer 2018!

 

Olga Terentieva,
SmartBear Assistant Community Manager



Reply to any questions to win

1 REPLY
Highlighted
Moderator

Re: Develop a Script [part V] – Win in API Summer!

We have got both the tasks accomplished!

 

Please find the solution by these links:

Operating with REST Interfaces and Requests

Script challenge for Groovy DataSource - API Summer 2018

 

Thanks everyone who keeps an eye on our updates and accomplishes additional tasks for API Summer 2018.

 

Olga Terentieva,
SmartBear Assistant Community Manager



Reply to any questions to win

API Summer News

Congratulate last week's winners here:
1. @sanj - $50
2. @Sehuang and @aaronpliu - $35
3. @jhanzeb1 - $15

To do this week:
- Ask product-related questions
- Reply to any questions

Win $50, $35 or $15 gift card!
Winners will be decided next Monday (Aug 27)

Top Kudoed Authors
Are You In?