add some bruno test

This commit is contained in:
Clement 2024-05-13 23:10:01 +02:00
parent 2cc1eac201
commit 5a0ceadcc6
6 changed files with 80 additions and 3 deletions

View File

@ -1,3 +1,7 @@
vars {
TRIPMAP_URL: https://api.opentripmap.com/0.1
}
vars:secret [
app_key
app_key,
OTM_KEY
]

View File

@ -1,7 +1,7 @@
meta {
name: express test
name: express Drink OTM
type: http
seq: 3
seq: 4
}
get {

View File

@ -0,0 +1,19 @@
meta {
name: otm_drink
type: http
seq: 6
}
get {
url: {{TRIPMAP_URL}}/en/places/radius?radius=1000&lon=-1.43333&lat=46.66667&apikey={{OTM_KEY}}&kinds=bars,cafes,pubs,biergartens
body: none
auth: none
}
query {
radius: 1000
lon: -1.43333
lat: 46.66667
apikey: {{OTM_KEY}}
kinds: bars,cafes,pubs,biergartens
}

View File

@ -0,0 +1,16 @@
meta {
name: otm_ex_city
type: http
seq: 7
}
get {
url: http://localhost:3001/otm/city?name=La roche sur yon&radius=300
body: none
auth: none
}
query {
name: La roche sur yon
radius: 300
}

View File

@ -0,0 +1,16 @@
meta {
name: otm_location
type: http
seq: 5
}
get {
url: {{TRIPMAP_URL}}/en/places/geoname?name=Paris&apikey={{OTM_KEY}}
body: none
auth: none
}
query {
name: Paris
apikey: {{OTM_KEY}}
}

View File

@ -0,0 +1,22 @@
meta {
name: test graphQL
type: graphql
seq: 3
}
post {
url: https://datatour-tweb.cb85.fr
body: graphql
auth: none
}
body:graphql {
{
poi {
total
results {
_uri
}
}
}
}