info:
  name: Login - elixPro Studio
  type: http
  seq: 8

http:
  method: POST
  url: https://unipr.elixforms.it/eP/elixpro-studio/launch
  body:
    type: form-urlencoded
    data:
      - name: cod_utente
        value: pierpaolo.mammi@unipr.it
      - name: password
        value: "!PwnedPM7smroFxile9?"
  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: https://unipr.elixforms.it/eP/elixpro-studio/launch
      method: POST
      body:
        type: form-urlencoded
        data:
          - name: cod_utente
            value: pierpaolo.mammi@unipr.it
          - name: password
            value: "!PwnedPM7smroFxile9?"
    response:
      status: 200
      statusText: OK
      headers:
        - name: date
          value: Mon, 31 Aug 2026 12:25:59 GMT
        - name: server
          value: "Payara Server 6.2025.1 #badassfish"
        - name: content-security-policy
          value: "default-src https: data: 'unsafe-inline' 'unsafe-eval'; img-src 'self' blob: data: https:;"
        - name: content-type
          value: text/html;charset=UTF-8
        - name: x-frame-options
          value: SAMEORIGIN
        - name: vary
          value: Accept-Encoding
        - name: strict-transport-security
          value: max-age=31536000; includeSubDomains
        - name: x-xss-protection
          value: "1"
        - name: x-content-type-options
          value: nosniff
        - name: referrer-policy
          value: unsafe-url
        - name: content-length
          value: "2062"
        - name: keep-alive
          value: timeout=10, max=500
        - name: connection
          value: Keep-Alive
      body:
        type: html
        data: |-
          <!DOCTYPE html>
          <html lang="it" style="font-size:112.5%;">
              <head>
                  <meta charset="UTF-8">
                      <meta name="viewport" content="width=device-width,initial-scale=1">
                          <title>elixPro Studio</title>
                          <link rel="icon" type="image/svg+xml" href="/eP/elixpro-studio/assets/images/favicon.svg">
                              <link rel="icon" type="image/svg+xml" sizes="16x16" href="/eP/elixpro-studio/assets/images/favicon-16.svg">
                                  <link rel="preconnect" href="https://fonts.googleapis.com">
                                      <link rel="preconnect" href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap" crossorigin>
          <link rel="stylesheet">
                                          <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
                                              <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
                                                  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css">
                                                      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.3.0/dist/select2-bootstrap-5-theme.min.css">
                                                          <link rel="stylesheet" href="/eP/elixpro-studio/assets/css/layout.css?v=311">
                                                          </link>
                                                          <body class="bg-light elx-app" style="font-size:1rem;">
                                                              <div class="app-container">
                                                                  <header class="app-header">
                                                                      <div class="header-content">
                                                                          <div class="header-left">
                                                                              <button type="button" id="sidebarMobileToggle" class="btn btn-outline-light btn-sm d-md-none me-2" aria-label="Apri menu">
                                                                                  <i class="bi bi-list"></i>
                                                                              </button>
                                                                              <div class="logo-section" id="headerLogoLink" role="button" tabindex="0" title="Ultimi 200 log elixPro" aria-label="Apri log: ultimi 200 record elixPro">
                                                                                  <img src="/eP/elixpro-studio/assets/images/elixforms-logo.png?v=311" alt="elixForms" class="elixforms-brand-logo me-2">
                                                                                      <span class="brand-text">elixPro Studio</span>
                                                                                  </img>
                                                                              </div>
                                                                              <div class="header-right d-flex align-items-center gap-2">
                                                                                  <a href="/eP/elixpro-studio/assets/docs/manuale-utente.html" id="headerUserGuideLink" class="btn btn-sm border-0 bg-transparent text-white elx-header-efapps" target="_blank" rel="noopener noreferrer" title="Documentazione">
                                                                                      <i class="bi bi-book fs-5" aria-hidden="true"></i>
                                                                                      <span class="visually-hidden">Documentazione</span>
                                                                                  </a>
                                                                                  <a href="#" id="headerEfAppsLink" class="btn btn-sm border-0 bg-transparent text-white elx-header-efapps" role="button" title="eF Apps">
                                                                                      <i class="bi bi-grid-3x3-gap fs-5" aria-hidden="true"></i>
                                                                                      <span class="visually-hidden">eF Apps</span>
                                                                                  </a>
                                                                                  <div class="dropdown d-inline-block">
                                                                                      <button class="btn btn-outline-light btn-sm dropdown-toggle" type="button" id="profileMenuBtn" data-bs-toggle="dropdown" aria-expanded="false">
                                                                                          <i class="bi bi-person-circle me-1"></i>
                                                                                          <span id="profileDisplayName">pierpaolo.mammi@unipr.it</span>
                                                                                      </button>
                                                                                      <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="profileMenuBtn" style="min-width: 280px;">
                                                                                          <li>
                                                                                              <a href="#" id="btnProfileMenu" class="dropdown-item" role="button"><i class="bi bi-person-vcard me-2"></i>Profilo utente</a>
                                                                                          </li>
                                                                                          <li>
                                                                                              <hr class="dropdown-divider"></hr>
                                                                                              <li>
                                                                                                  <a href="#" id="btnLogoutMenu" class="dropdown-item text-danger" role="button"><i class="bi bi-box-arrow-right me-2"></i>Esci</a>
                                                                                              </li>
                                                                                          </li>
                                                                                      </ul>
                                                                                  </div>
                                                                              </div>
                                                                          </div>
                                                                          <div class="app-main">
                                                                              <aside id="sidebar" class="app-sidebar">
                                                                                  <div class="sidebar-panel-head">
                                                                                      <button type="button" id="sidebarToggle" class="sidebar-panel-toggle" title="Collassa/Espandi menu" aria-label="Collassa menu laterale">
                                                                                          <i class="bi bi-layout-sidebar-inset fs-5" id="sidebarToggleIcon" aria-hidden="true"></i>
                                                                                      </button>
                                                                                  </div>
                                                                                  <nav class="sidebar-nav">
                                                                                      <a class="nav-item nav-item--dashboard active" data-view="welcome" href="#">
                                                                                          <i class="bi bi-house-door"></i>
                                                                                          <span>Dashboard</span>
                                                                                      </a>
                                                                                      <div class="nav-separator">
                                                                                          <span class="nav-separator-text">elixPro</span>
                                                                                      </div>
                                                                                      <a class="nav-item" data-view="elixpro-procedimenti" href="#">
                                                                                          <i class="bi bi-diagram-3-fill"></i>
                                                                                          <span>Procedimenti</span>
                                                                                      </a>
                                                                                      <a class="nav-item" data-view="elixpro-elixlog" href="#">
                                                                                          <i class="bi bi-file-text"></i>
                                                                                          <span>Log</span>
                                                                                      </a>
                                                                                  </nav>
                                                                                  <footer class="app-footer app-footer--sidebar" role="contentinfo" style="text-align: center">
                                                                                      <span class="app-footer-build">1.0.1 - [build 311]</span>
                                                                                  </footer>
                                                                              </aside>
                                                                              <main class="app-content">
                                                                                  <div id="view-host"></div>
                                                                              </main>
                                                                          </div>
                                                                          <div class="modal fade" id="profileModal" tabindex="-1" aria-hidden="true">
                                                                              <div class="modal-dialog modal-dialog-centered">
                                                                                  <div class="modal-content">
                                                                                      <div class="modal-header bg-white border-bottom py-3">
                                                                                          <h5 class="modal-title"><i class="bi bi-person-vcard me-2"></i>Profilo utente</h5>
                                                                                          <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                                                                      </div>
                                                                                      <div class="modal-body">
                                                                                          <dl class="row mb-0">
                                                                                              <dt class="col-4">Piattaforma</dt>
                                                                                              <dd class="col-8" id="profileDialogPlatform">unipr.elixforms.it</dd>
                                                                                              <dt class="col-4">Utente</dt>
                                                                                              <dd class="col-8" id="profileDialogUsername">pierpaolo.mammi@unipr.it</dd>
                                                                                              <dt class="col-4">Nome</dt>
                                                                                              <dd class="col-8" id="profileDialogFullName">pierpaolo.mammi@unipr.it</dd>
                                                                                              <dt class="col-4">Email</dt>
                                                                                              <dd class="col-8" id="profileDialogEmail">-</dd>
                                                                                              <dt class="col-4">Gruppi</dt>
                                                                                              <dd class="col-8" id="profileDialogGroups">-</dd>
                                                                                          </dl>
                                                                                      </div>
                                                                                      <div class="modal-footer">
                                                                                          <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Chiudi</button>
                                                                                      </div>
                                                                                  </div>
                                                                              </div>
                                                                          </div>
                                                                      </div>
                                                                      <script>window.ELIXPRO_APP_BASE='/eP/elixpro-studio';</script>
                                                                      <script>window.BO02_APP_BASE=window.ELIXPRO_APP_BASE;</script>
                                                                      <script>window.ELIXPRO_BUILD='311';</script>
                                                                      <script>window.ELIXPRO_VERSION='1.0.1';</script>
                                                                      <script>window.ELIXPRO_VERSION_BUILD_LABEL='1.0.1 - [build 311]';</script>
                                                                      <script>window.ELIXPRO_PROCEDIMENTO_EDITOR_BASE='https://unipr.elixforms.it/eP/elixpro-editor/procedimento-x/editor?procedure-tag=';</script>
                                                                      <script>window.ELIXPRO_EDITOR_BASE_CONFIGURED=true;</script>
                                                                      <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
                                                                      <script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
                                                                      <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
                                                                      <script type="module" src="/eP/elixpro-studio/assets/js/app.js?v=311"></script>
                                                                  </header>
                                                              </div>
                                                          </body>
                                                      </link>
                                                  </link>
                                              </link>
                                          </link>
                                      </link>
                                  </link>
                              </link>
                          </link>
                      </meta>
                  </meta>
              </head>
          </html>
