Compare commits
2
Commits
49f0ecc163
...
cc6725a39f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc6725a39f | ||
|
|
69fd9af133 |
@@ -1,3 +1,5 @@
|
|||||||
elixFormsWsAuthenticationToken=
|
elixFormsWsAuthenticationToken=
|
||||||
elixFormsApiPassword=
|
elixFormsApiPassword=
|
||||||
elixFormsApiUsername=
|
elixFormsApiUsername=
|
||||||
|
elixFormsConsoleUsername=
|
||||||
|
elixFormsConsolePassword=
|
||||||
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
info:
|
info:
|
||||||
name: Get Object Title (GENERICSCHEMA)
|
name: AJ Console - Get Object Title (GENERICSCHEMA)
|
||||||
type: http
|
type: http
|
||||||
seq: 5
|
seq: 6
|
||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
@@ -24,6 +24,7 @@ http:
|
|||||||
- name: OBJECT_ID
|
- name: OBJECT_ID
|
||||||
value: "168258"
|
value: "168258"
|
||||||
type: query
|
type: query
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
scripts:
|
scripts:
|
||||||
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
info:
|
info:
|
||||||
name: Get Object Title (SCHEMADATA)
|
name: AJ Console - Get Object Title (SCHEMADATA)
|
||||||
type: http
|
type: http
|
||||||
seq: 4
|
seq: 5
|
||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
@@ -24,6 +24,7 @@ http:
|
|||||||
- name: OBJECT_ID
|
- name: OBJECT_ID
|
||||||
value: "35397"
|
value: "35397"
|
||||||
type: query
|
type: query
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
scripts:
|
scripts:
|
||||||
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
info:
|
info:
|
||||||
name: Save Object
|
name: AJ Console - Save Object
|
||||||
type: http
|
type: http
|
||||||
seq: 6
|
seq: 7
|
||||||
|
|
||||||
http:
|
http:
|
||||||
method: POST
|
method: POST
|
||||||
@@ -17,6 +17,7 @@ http:
|
|||||||
- name: S_616_168008_COL0009
|
- name: S_616_168008_COL0009
|
||||||
type: text
|
type: text
|
||||||
value: azione_form_AUTOR_firmaAutorizzazione
|
value: azione_form_AUTOR_firmaAutorizzazione
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
scripts:
|
scripts:
|
||||||
+5
-4
@@ -1,14 +1,12 @@
|
|||||||
info:
|
info:
|
||||||
name: Search schemas
|
name: AJ Console - Search schemas
|
||||||
type: http
|
type: http
|
||||||
seq: 3
|
seq: 4
|
||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
url: "{{elixFormsRootUrl}}/AJSRV/metadata/search?SEARCH_IN[]=616&PAGE=1&AJL=it&PAGESIZE=80&SECURE=true"
|
url: "{{elixFormsRootUrl}}/AJSRV/metadata/search?SEARCH_IN[]=616&PAGE=1&AJL=it&PAGESIZE=80&SECURE=true"
|
||||||
headers:
|
headers:
|
||||||
- name: Cookie
|
|
||||||
value: "{{elixFormsAjsrvCookie}}"
|
|
||||||
- name: x-requested-with
|
- name: x-requested-with
|
||||||
value: XMLHttpRequest
|
value: XMLHttpRequest
|
||||||
params:
|
params:
|
||||||
@@ -27,11 +25,13 @@ http:
|
|||||||
- name: SECURE
|
- name: SECURE
|
||||||
value: "true"
|
value: "true"
|
||||||
type: query
|
type: query
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
scripts:
|
scripts:
|
||||||
- type: before-request
|
- type: before-request
|
||||||
code: |-
|
code: |-
|
||||||
|
/*
|
||||||
const noCookieFoundError = "No AJSRV cookie found!";
|
const noCookieFoundError = "No AJSRV cookie found!";
|
||||||
|
|
||||||
var ajsrvCookie = bru.getVar("elixFormsAjsrvCookie");
|
var ajsrvCookie = bru.getVar("elixFormsAjsrvCookie");
|
||||||
@@ -40,6 +40,7 @@ runtime:
|
|||||||
console.error(noCookieFoundError, ajsrvCookie);
|
console.error(noCookieFoundError, ajsrvCookie);
|
||||||
throw new Error(noCookieFoundError);
|
throw new Error(noCookieFoundError);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
encodeUrl: true
|
encodeUrl: true
|
||||||
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
info:
|
info:
|
||||||
name: Export Module
|
name: Creazione Moduli - Export Module
|
||||||
type: http
|
type: http
|
||||||
seq: 2
|
seq: 8
|
||||||
|
|
||||||
http:
|
http:
|
||||||
method: GET
|
method: GET
|
||||||
@@ -16,6 +16,7 @@ http:
|
|||||||
- name: exportProtocol
|
- name: exportProtocol
|
||||||
value: "true"
|
value: "true"
|
||||||
type: query
|
type: query
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
scripts:
|
scripts:
|
||||||
+23604
File diff suppressed because one or more lines are too long
+25
-4
@@ -1,11 +1,11 @@
|
|||||||
info:
|
info:
|
||||||
name: Backoffice Login
|
name: Login - Backoffice
|
||||||
type: http
|
type: http
|
||||||
seq: 1
|
seq: 1
|
||||||
|
|
||||||
http:
|
http:
|
||||||
method: POST
|
method: POST
|
||||||
url: https://console-unipr.elixforms.it/CISIInformationUnit/ExecuteTransaction.jws
|
url: "{{elixFormsRootUrl}}/CISIInformationUnit/ExecuteTransaction.jws"
|
||||||
headers:
|
headers:
|
||||||
- name: Host
|
- name: Host
|
||||||
value: console-unipr.elixforms.it
|
value: console-unipr.elixforms.it
|
||||||
@@ -21,18 +21,38 @@ http:
|
|||||||
data:
|
data:
|
||||||
- name: username
|
- name: username
|
||||||
type: text
|
type: text
|
||||||
value: Automation_User
|
value: "{{elixFormsConsoleUsername}}"
|
||||||
- name: password
|
- name: password
|
||||||
type: text
|
type: text
|
||||||
value: n_HH9shL#VPeiiT^%;:t5/,jY
|
value: "{{elixFormsConsolePassword}}"
|
||||||
- name: INSERT_BTN00000
|
- name: INSERT_BTN00000
|
||||||
type: text
|
type: text
|
||||||
value: Accedi
|
value: Accedi
|
||||||
|
disabled: true
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
scripts:
|
scripts:
|
||||||
- type: after-response
|
- type: after-response
|
||||||
code: |-
|
code: |-
|
||||||
|
/*
|
||||||
|
const headerSetCookie = res.getHeader('set-cookie');
|
||||||
|
console.log(headerSetCookie);
|
||||||
|
|
||||||
|
const split1 = headerSetCookie.map(c => c.split(';')[0]);
|
||||||
|
console.log(split1);
|
||||||
|
|
||||||
|
const split2 = split1.map(c => c.split('='));
|
||||||
|
console.log(split2);
|
||||||
|
|
||||||
|
const map = new Map(split2);
|
||||||
|
console.log(map);
|
||||||
|
|
||||||
|
bru.setVar("elixFormsAjsrvCookie", "AJSRV=" + map.get("AJSRV"));
|
||||||
|
bru.setVar("elixFormsJsessionidCookie", "JSESSIONID=" + map.get("JSESSIONID"));
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
const ajsrvCookie = bru.cookies.get("AJSRV");
|
const ajsrvCookie = bru.cookies.get("AJSRV");
|
||||||
const jsessionidCookie = bru.cookies.get("JSESSIONID");
|
const jsessionidCookie = bru.cookies.get("JSESSIONID");
|
||||||
|
|
||||||
@@ -41,6 +61,7 @@ runtime:
|
|||||||
|
|
||||||
bru.setVar("elixFormsAjsrvCookie", "AJSRV=" + ajsrvCookie);
|
bru.setVar("elixFormsAjsrvCookie", "AJSRV=" + ajsrvCookie);
|
||||||
bru.setVar("elixFormsJsessionidCookie", "JSESSIONID=" + jsessionidCookie);
|
bru.setVar("elixFormsJsessionidCookie", "JSESSIONID=" + jsessionidCookie);
|
||||||
|
*/
|
||||||
- type: tests
|
- type: tests
|
||||||
code: |-
|
code: |-
|
||||||
test("AJSRV cookie found", function () {
|
test("AJSRV cookie found", function () {
|
||||||
@@ -0,0 +1,198 @@
|
|||||||
|
info:
|
||||||
|
name: Login - Gestione Schede
|
||||||
|
type: http
|
||||||
|
seq: 2
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{elixFormsRootUrl}}/rwe2/schema_console.jsp"
|
||||||
|
headers:
|
||||||
|
- name: Cookie
|
||||||
|
value: ISIPSESSION=dd755718a116664c31b89d25d251c6b2; AJSRV=BTN_USER_1787732684670_7497683962865219861; JSESSIONID=e480913d3ccdc8d517c2e8662d9a
|
||||||
|
disabled: true
|
||||||
|
- name: Host
|
||||||
|
value: console-unipr.elixforms.it
|
||||||
|
disabled: true
|
||||||
|
- name: Referer
|
||||||
|
value: https://console-unipr.elixforms.it/backoffice/
|
||||||
|
params:
|
||||||
|
- name: IUXSID
|
||||||
|
value: TX_I4453_UNIPR_1787737266508_R-1756946974
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
scripts:
|
||||||
|
- type: before-request
|
||||||
|
code: |-
|
||||||
|
/*
|
||||||
|
const noAjsrvCookieFoundError = "No AJSRV cookie found!";
|
||||||
|
var ajsrvCookie = bru.getVar("elixFormsAjsrvCookie");
|
||||||
|
if (ajsrvCookie == null || ajsrvCookie === "") {
|
||||||
|
console.error(noAjsrvCookieFoundError, ajsrvCookie);
|
||||||
|
throw new Error(noAjsrvCookieFoundError);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
- type: after-response
|
||||||
|
code: |-
|
||||||
|
/*
|
||||||
|
const ajsrvCookie = bru.cookies.get("AJSRV");
|
||||||
|
const jsessionidCookie = bru.cookies.get("JSESSIONID");
|
||||||
|
const isipSessionCookie = bru.cookies.get("ISIPSESSION");
|
||||||
|
|
||||||
|
console.log("Cookies: ", bru.cookies);
|
||||||
|
|
||||||
|
bru.setVar("elixFormsAjsrvCookie", "AJSRV=" + ajsrvCookie);
|
||||||
|
bru.setVar("elixFormsJsessionidCookie", "JSESSIONID=" + jsessionidCookie);
|
||||||
|
bru.setVar("elixFormsIsipsessionCookie", "ISIPSESSION=" + isipSessionCookie);
|
||||||
|
*/
|
||||||
|
- type: tests
|
||||||
|
code: |-
|
||||||
|
test("AJSRV cookie found", function () {
|
||||||
|
const ajsrvCookie = bru.cookies.get("AJSRV");
|
||||||
|
expect(ajsrvCookie).to.not.be.null;
|
||||||
|
expect(ajsrvCookie).to.not.be.empty;
|
||||||
|
});
|
||||||
|
|
||||||
|
test("JSESSIONID cookie found", function () {
|
||||||
|
const jsessionidCookie = bru.cookies.get("JSESSIONID");
|
||||||
|
expect(jsessionidCookie).to.not.be.null;
|
||||||
|
expect(jsessionidCookie).to.not.be.empty;
|
||||||
|
});
|
||||||
|
|
||||||
|
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: https://console-unipr.elixforms.it/CISIInformationUnit/ExecuteTransaction.jws
|
||||||
|
method: POST
|
||||||
|
headers:
|
||||||
|
- name: Host
|
||||||
|
value: console-unipr.elixforms.it
|
||||||
|
- name: Referer
|
||||||
|
value: https://console-unipr.elixforms.it/backoffice/
|
||||||
|
params:
|
||||||
|
- name: IUXSID
|
||||||
|
value: TX_I4453_UNIPR_1787737266508_R-1756946974
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
body:
|
||||||
|
type: multipart-form
|
||||||
|
data:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
value: Automation_User
|
||||||
|
- name: password
|
||||||
|
type: text
|
||||||
|
value: n_HH9shL#VPeiiT^%;:t5/,jY
|
||||||
|
- name: INSERT_BTN00000
|
||||||
|
type: text
|
||||||
|
value: Accedi
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
headers:
|
||||||
|
- name: date
|
||||||
|
value: Wed, 26 Aug 2026 10:34:54 GMT
|
||||||
|
- name: server
|
||||||
|
value: '""'
|
||||||
|
- name: content-security-policy
|
||||||
|
value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
|
||||||
|
- name: x-powered-by
|
||||||
|
value: JSP/2.2
|
||||||
|
- name: content-type
|
||||||
|
value: text/html;charset=UTF-8
|
||||||
|
- name: set-cookie
|
||||||
|
value: JSESSIONID=da31f0432559043377f947047c89; Path=/; HttpOnly
|
||||||
|
- name: vary
|
||||||
|
value: Accept-Encoding
|
||||||
|
- name: strict-transport-security
|
||||||
|
value: max-age=31536000; includeSubDomains
|
||||||
|
- name: x-frame-options
|
||||||
|
value: SAMEORIGIN
|
||||||
|
- name: x-xss-protection
|
||||||
|
value: "1"
|
||||||
|
- name: x-content-type-options
|
||||||
|
value: nosniff
|
||||||
|
- name: referrer-policy
|
||||||
|
value: unsafe-url
|
||||||
|
- name: keep-alive
|
||||||
|
value: timeout=10, max=500
|
||||||
|
- name: connection
|
||||||
|
value: Keep-Alive
|
||||||
|
- name: transfer-encoding
|
||||||
|
value: chunked
|
||||||
|
body:
|
||||||
|
type: html
|
||||||
|
data: |+
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<!-- include the local application global jsp file -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
* {
|
||||||
|
font-family: Verdana,Arial,Helvetica,sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #444444;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.logo {padding:3em 0 0 0; margin:0;text-align:center;}
|
||||||
|
.container {padding:0; width:30em;margin:0 auto;text-align:center;}
|
||||||
|
h1 {font-weight:bold;margin: 2em 0 1em 0;}
|
||||||
|
form fieldset {border: none;text-align:left;}
|
||||||
|
form fieldset label {float:left; width:40%;display:block;text-align:right;padding: 0.3em;}
|
||||||
|
form fieldset .fieldcontainer {float:left; width55%;}
|
||||||
|
.end {clear:both;height:0.1em;line-height:0.1em;font-size:0.1em;width:100%}
|
||||||
|
</style><div class="logo"><img alt="Logo" src="/images/HeaderStemmaLogon.gif"></div><div class="container"><h1>ISIPortal - Backoffice</h1><form action="/CISIInformationUnit/ExecuteTransaction.jws?IUXSID=TX_I4453_UNIPR_1787740495631_R-970713504" method="POST" name="frmFEPA" txid="TX_I4453_UNIPR_1787740495631_R-970713504"><fieldset><label for="username">Nome Utente:</label><div class="fieldcontainer"><input class="isiportalPartialAdminFormFieldSingleLineText" id="username" name="username" type="text" value=""></div><div class="end"> </div><label for="password">Password:</label><div class="fieldcontainer"><input class="isiportalPartialAdminFormFieldSingleLineText" id="password" name="password" type="password" value=""></div><div class="end"> </div></fieldset><div><input class="isiportalPartialAdminINSERT_BTN00000Button" name="INSERT_BTN00000" type="submit" value="Accedi"></div></form></div>
|
||||||
|
|
||||||
@@ -4,7 +4,6 @@ info:
|
|||||||
seq: 3
|
seq: 3
|
||||||
|
|
||||||
request:
|
request:
|
||||||
auth: inherit
|
|
||||||
scripts:
|
scripts:
|
||||||
- type: tests
|
- type: tests
|
||||||
code: |-
|
code: |-
|
||||||
|
|||||||
@@ -3,19 +3,17 @@ color: "#2E8A54"
|
|||||||
variables:
|
variables:
|
||||||
- name: elixFormsApiUrl
|
- name: elixFormsApiUrl
|
||||||
value: https://procedure.unipr.it/eF/services/api
|
value: https://procedure.unipr.it/eF/services/api
|
||||||
description: ""
|
|
||||||
- name: elixFormsApiUsername
|
- name: elixFormsApiUsername
|
||||||
value: "{{process.env.elixFormsApiUsername}}"
|
value: "{{process.env.elixFormsApiUsername}}"
|
||||||
description: ""
|
|
||||||
- name: elixFormsWsAuthenticationToken
|
- name: elixFormsWsAuthenticationToken
|
||||||
value: "{{process.env.elixFormsWsAuthenticationToken}}"
|
value: "{{process.env.elixFormsWsAuthenticationToken}}"
|
||||||
description: ""
|
|
||||||
- name: elixFormsApiUrl_Default
|
- name: elixFormsApiUrl_Default
|
||||||
value: https://procedure.unipr.it/eF/api
|
value: https://procedure.unipr.it/eF/api
|
||||||
description: ""
|
|
||||||
- name: elixFormsApiPassword
|
- name: elixFormsApiPassword
|
||||||
value: "{{process.env.elixFormsApiPassword}}"
|
value: "{{process.env.elixFormsApiPassword}}"
|
||||||
description: ""
|
|
||||||
- name: elixFormsRootUrl
|
- name: elixFormsRootUrl
|
||||||
value: https://procedure.unipr.it
|
value: https://console-unipr.elixforms.it
|
||||||
description: ""
|
- name: elixFormsConsoleUsername
|
||||||
|
value: "{{process.env.elixFormsConsoleUsername}}"
|
||||||
|
- name: elixFormsConsolePassword
|
||||||
|
value: "{{process.env.elixFormsConsolePassword}}"
|
||||||
|
|||||||
@@ -16,6 +16,8 @@
|
|||||||
"elixFormsApiUrl_Default": "https://procedure.unipr.it/eF/api",
|
"elixFormsApiUrl_Default": "https://procedure.unipr.it/eF/api",
|
||||||
"elixFormsApiUsername": null,
|
"elixFormsApiUsername": null,
|
||||||
"elixFormsApiPassword": null,
|
"elixFormsApiPassword": null,
|
||||||
|
"elixFormsConsoleUsername": null,
|
||||||
|
"elixFormsConsolePassword": null,
|
||||||
"elixFormsWsAuthenticationToken": null
|
"elixFormsWsAuthenticationToken": null
|
||||||
},
|
},
|
||||||
"ESSE3 Anagrafica API": {
|
"ESSE3 Anagrafica API": {
|
||||||
|
|||||||
Reference in New Issue
Block a user