add more elixpro requests
This commit is contained in:
+54
@@ -0,0 +1,54 @@
|
||||
info:
|
||||
name: elixPro - Copy module to Edit
|
||||
type: http
|
||||
seq: 13
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixProStudioUrl}}/eP/elixpro-studio/api/elixpro/procedimento/proc-toedit"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"procedureTag": "module_tag_XXX"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: tests
|
||||
code: |-
|
||||
test("ISIPSESSION cookie found", function () {
|
||||
const isipsessionCookie = bru.cookies.get("ISIPSESSION");
|
||||
expect(isipsessionCookie).to.not.be.null;
|
||||
expect(isipsessionCookie).to.not.be.empty;
|
||||
});
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: false
|
||||
|
||||
examples:
|
||||
- name: example
|
||||
request:
|
||||
url: "{{elixProStudioUrl}}/eP/elixpro-studio/api/elixpro/procedimento/proc-toedit"
|
||||
method: POST
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"procedureTag": "module_tag_XXX"
|
||||
}
|
||||
response:
|
||||
status: 200
|
||||
statusText: OK
|
||||
body:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"ok": true,
|
||||
"procedureTag": "module_tag_XXX"
|
||||
}
|
||||
Reference in New Issue
Block a user