Add bruno api tests

This commit is contained in:
Isaac Shoebottom 2023-12-02 23:45:36 -04:00
parent ccc631b2ac
commit 76fb8c521d
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
"version": "1",
"name": "vimm",
"type": "collection"
}

32
vimm/bruno-vimm/test1.bru Normal file
View File

@ -0,0 +1,32 @@
meta {
name: test1
type: http
seq: 1
}
get {
url: https://download2.vimm.net/download/?mediaId=9709&alt=1
body: none
auth: none
}
query {
mediaId: 9709
alt: 1
}
headers {
Referer: https://vimm.net/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
~Accept-Encoding: gzip, deflate, br
~Connection: keep-alive
~Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/jxl,image/webp,*/*;q=0.8
~Accept-Language: en,en-CA;q=0.7,en-US;q=0.3
~DNT: 1
~Sec-GPC: 1
~Upgrade-Insecure-Requests: 1
~Sec-Fetch-Dest: document
~Sec-Fetch-Mode: navigate
~Sec-Fetch-Site: same-site
~Sec-Fetch-User: ?1
}

32
vimm/bruno-vimm/test2.bru Normal file
View File

@ -0,0 +1,32 @@
meta {
name: test2
type: http
seq: 2
}
get {
url: https://download2.vimm.net/download/?mediaId=9704&alt=1
body: none
auth: none
}
query {
mediaId: 9704
alt: 1
}
headers {
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/jxl,image/webp,*/*;q=0.8
Accept-Language: en,en-CA;q=0.7,en-US;q=0.3
Accept-Encoding: gzip, deflate, br
DNT: 1
Sec-GPC: 1
Connection: keep-alive
Referer: https://vimm.net/
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-site
Sec-Fetch-User: ?1
}