Skip to content

Commit

Permalink
Example RedHatOfficial#12: threading/fluent API
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Nov 13, 2019
1 parent 40a746b commit df9b567
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions testing/frisby/12_frisby_threading.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package main

import "github.com/verdverm/frisby"

func main() {
frisby.Create("Cookies check").
Get("http://httpbin.org/cookies").
SetCookie("foo", "bar").
Send().
ExpectStatus(200).
ExpectJson("cookies.foo", "bar").
PrintBody()

frisby.Global.PrintReport()
}

0 comments on commit df9b567

Please sign in to comment.