{"id":16877709,"url":"https://github.com/johanhaleby/rest-assured-lab","last_synced_at":"2026-05-07T04:32:49.725Z","repository":{"id":3522872,"uuid":"4581756","full_name":"johanhaleby/rest-assured-lab","owner":"johanhaleby","description":"Labs for REST Assured Java API","archived":false,"fork":false,"pushed_at":"2014-02-07T08:10:14.000Z","size":172,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T04:47:54.977Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johanhaleby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-07T06:04:55.000Z","updated_at":"2017-08-18T22:56:52.000Z","dependencies_parsed_at":"2022-08-19T22:31:37.637Z","dependency_job_id":null,"html_url":"https://github.com/johanhaleby/rest-assured-lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanhaleby%2Frest-assured-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanhaleby%2Frest-assured-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanhaleby%2Frest-assured-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johanhaleby%2Frest-assured-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johanhaleby","download_url":"https://codeload.github.com/johanhaleby/rest-assured-lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244365068,"owners_count":20441472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T15:44:57.566Z","updated_at":"2025-10-19T13:45:12.929Z","avatar_url":"https://github.com/johanhaleby.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"rest-assured-lab\n================\n\nPrerequisites\n=============\n\n* JDK 5+\n* Maven\n* Mercurial\n* Git\n\nPart 1\n======\n\n* Follow installation instructions on http://www.hascode.com/2011/10/testing-restful-web-services-made-easy-using-the-rest-assured-framework/.\n* When installation is completed you should run \"mvn tomcat:run\" and then go to http://localhost:8080 where you'll find all the services.\n* There's a sample test case in com.jayway.restassured.lab.part1.SingleUserServiceTest for the \"single-user\". Complete this test and then create similar\n  tests for all services while following the instructions on hascode.com. You should use the given-when-then API!\n\nPart 2\n======\n\n* Clone the rest-assured repo by doing \"git clone git://github.com/jayway/rest-assured.git\"\n* Go into rest-assured and run \"mvn clean install -Dmaven.test.skip=true\"\n* Go into rest-assured/examples/scalatra-webapp and run \"mvn jetty:run -Pdev\"\n* Implement com.jayway.restassured.lab.part2.AdvancedValidationTest. For this you'll need some knowledge on Groovy collections and closures.\n  See http://groovy.codehaus.org/groovy-jdk/java/util/Collection.html and http://groovy.codehaus.org/Closures.\n* Implement com.jayway.restassured.lab.part2.CustomAuthDemoTest. The assignment here is to create an authentication filter (see http://code.google.com/p/rest-assured/wiki/Usage#Filters)\n  that automatically deals with logging in to the custom-auth service in order to get the secret message. But try to get access to \"secretMessage\" without implementing a filter\n  in the first test case and then implement the filter in the second one.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanhaleby%2Frest-assured-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohanhaleby%2Frest-assured-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohanhaleby%2Frest-assured-lab/lists"}