mirror of
https://github.com/muety/wakapi.git
synced 2025-12-05 22:20:24 -08:00
29 lines
429 B
Plaintext
29 lines
429 B
Plaintext
meta {
|
|
name: Create heartbeats (unauthorized)
|
|
type: http
|
|
seq: 11
|
|
}
|
|
|
|
post {
|
|
url: {{BASE_URL}}/api/heartbeat
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
[{
|
|
"entity": "/home/user1/dev/project1/main.go",
|
|
"project": "wakapi",
|
|
"language": "Go",
|
|
"is_write": true,
|
|
"type": "file",
|
|
"category": null,
|
|
"branch": null,
|
|
"time": {{tsNowMinus1Min}}
|
|
}]
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 401
|
|
}
|