# 1. Get a Load Test Session

The first step is to either record or import a sequence of execution steps for the Load Test.

The Pages under this category are all about getting those steps into ZebraTester so that they can then be adjusted/enhanced for the final load test execution.

\
&#x20; (function(){\
&#x20;   var data = {\
&#x20;   "addon\_key":"com.refinedwiki.confluence.cloud.refinedtheme",\
&#x20;   "uniqueKey":"com.refinedwiki.confluence.cloud.refinedtheme\_\_rw-ui-children7374015955805507972",\
&#x20;   "key":"rw-ui-children",\
&#x20;    "moduleType":"dynamicContentMacros",      "moduleLocation":"content",         "cp":"/wiki",\
&#x20;           "general":"",\
&#x20;   "w":"",\
&#x20;   "h":"",\
&#x20;   "url":"<https://refinedtheme-production.refinedwiki.com/macros/ui-children?spaceKey=DAZT\\&macroId=b67e425b-ce26-4336-bb91-b4bf6e7b0d96\\&displayMode=\\&pageId=151715841\\&page=\\&xdm\\_e=https%3A%2F%2Fapica-kb.atlassian.net\\&xdm\\_c=channel-com.refinedwiki.confluence.cloud.refinedtheme\\_\\_rw-ui-children7374015955805507972\\&cp=%2Fwiki\\&xdm\\_deprecated\\_addon\\_key\\_do\\_not\\_use=com.refinedwiki.confluence.cloud.refinedtheme\\&lic=active\\&cv=1000.0.0-8465bd254f31\\&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1ZTI1N2U0MmJmMDQwMTBlNzBjMzExMmYiLCJxc2giOiJiYWZmNTI3YjUzN2Q4MzU2ZTVjZjA5NThkZWUwNzYzNGFmM2VjYWE5NDIzZTQ4NWM2YjkxNDNkM2VkYzEwZTMxIiwiaXNzIjoiNmQzZWE4N2MtOWM0Yy0zMzc1LWEyNjgtZTIzZjZmOTk2MmVmIiwiY29udGV4dCI6e30sImV4cCI6MTc0MTE4NjA0NywiaWF0IjoxNzQxMTg1ODY3fQ.HGWkSK6wNghBzW-tOpBhXnQPkgNweaIXYJBkA6lDQ8g",\\>
&#x20;    "contextJwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1ZTI1N2U0MmJmMDQwMTBlNzBjMzExMmYiLCJxc2giOiJjb250ZXh0LXFzaCIsImlzcyI6IjZkM2VhODdjLTljNGMtMzM3NS1hMjY4LWUyM2Y2Zjk5NjJlZiIsImNvbnRleHQiOnsibGljZW5zZSI6eyJhY3RpdmUiOnRydWV9LCJjb25mbHVlbmNlIjp7ImVkaXRvciI6eyJ2ZXJzaW9uIjoiXCJ2MlwiIn0sIm1hY3JvIjp7Im91dHB1dFR5cGUiOiJodG1sX2V4cG9ydCIsImhhc2giOiJiNjdlNDI1Yi1jZTI2LTQzMzYtYmI5MS1iNGJmNmU3YjBkOTYiLCJpZCI6ImI2N2U0MjViLWNlMjYtNDMzNi1iYjkxLWI0YmY2ZTdiMGQ5NiJ9LCJjb250ZW50Ijp7InR5cGUiOiJwYWdlIiwidmVyc2lvbiI6IjMiLCJpZCI6IjE1MTcxNTg0MSJ9LCJzcGFjZSI6eyJrZXkiOiJEQVpUIiwiaWQiOiI0NjIwMjg5In19LCJ1cmwiOnsiZGlzcGxheVVybCI6Imh0dHBzOlwvXC9hcGljYS1rYi5hdGxhc3NpYW4ubmV0XC93aWtpIn19LCJleHAiOjE3NDExODY3NjcsImlhdCI6MTc0MTE4NTg2N30.mI72h3foYr5XT98rQcRGHvo6YftFCMAssbybe93s4TQ",    "structuredContext": "{\\"license\\":{\\"active\\":true},\\"confluence\\":{\\"editor\\":{\\"version\\":\\"\\\\\\"v2\\\\\\"\\"},\\"macro\\":{\\"outputType\\":\\"html\_export\\",\\"hash\\":\\"b67e425b-ce26-4336-bb91-b4bf6e7b0d96\\",\\"id\\":\\"b67e425b-ce26-4336-bb91-b4bf6e7b0d96\\"},\\"content\\":{\\"type\\":\\"page\\",\\"version\\":\\"3\\",\\"id\\":\\"151715841\\"},\\"space\\":{\\"key\\":\\"DAZT\\",\\"id\\":\\"4620289\\"}},\\"url\\":{\\"displayUrl\\":\\"<https://apica-kb.atlassian.net/wiki\\\\"\\}}",\\>
&#x20;   "contentClassifier":"content",\
&#x20;   "productCtx":"{\\"page.id\\":\\"151715841\\",\\"macro.hash\\":\\"b67e425b-ce26-4336-bb91-b4bf6e7b0d96\\",\\"space.key\\":\\"DAZT\\",\\"page.type\\":\\"page\\",\\"content.version\\":\\"3\\",\\"page.title\\":\\"1. Get a Load Test Session\\",\\"macro.localId\\":\\"\\",\\"macro.body\\":\\"\\",\\": = | RAW | = :\\":null,\\"space.id\\":\\"4620289\\",\\"macro.truncated\\":\\"false\\",\\"content.type\\":\\"page\\",\\"output.type\\":\\"html\_export\\",\\"page.version\\":\\"3\\",\\"macro.fragmentLocalId\\":\\"\\",\\"content.id\\":\\"151715841\\",\\"macro.id\\":\\"b67e425b-ce26-4336-bb91-b4bf6e7b0d96\\",\\"user.isExternalCollaborator\\":\\"false\\",\\"editor.version\\":\\"\\\\\\"v2\\\\\\"\\"}",\
&#x20;   "timeZone":"UTC",\
&#x20;   "origin":"<https://refinedtheme-production.refinedwiki.com",\\>
&#x20;   "hostOrigin":"<https://apica-kb.atlassian.net",\\>
&#x20;   "sandbox":"allow-downloads allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-scripts allow-same-origin allow-top-navigation-by-user-activation allow-storage-access-by-user-activation",    "pearApp":"true",        "apiMigrations": {\
&#x20;       "gdpr": true\
&#x20;   }\
}\
;\
&#x20;   if(window\.AP && window\.AP.subCreate) {\
&#x20;     window.\_AP.appendConnectAddon(data);\
&#x20;   } else {\
&#x20;     require(\['ac/create'], function(create){\
&#x20;       create.appendConnectAddon(data);\
&#x20;     });\
&#x20;   }\
\
&#x20;   // For Confluence App Analytics. This code works in conjunction with CFE's ConnectSupport.js.\
&#x20;   // Here, we add a listener to the initial HTML page that stores events if the ConnectSupport component\
&#x20;   // has not mounted yet. In CFE, we process the missed event data and disable this initial listener.\
&#x20;   const \_\_MAX\_EVENT\_ARRAY\_SIZE\_\_ = 20;\
&#x20;   const connectAppAnalytics = "ecosystem.confluence.connect.analytics";\
&#x20;   window\.connectHost && window\.connectHost.onIframeEstablished((eventData) => {\
&#x20;     if (!window.\_\_CONFLUENCE\_CONNECT\_SUPPORT\_LOADED\_\_) {\
&#x20;       let events = JSON.parse(window\.localStorage.getItem(connectAppAnalytics)) || \[];\
&#x20;       if (events.length >= \_\_MAX\_EVENT\_ARRAY\_SIZE\_\_) {\
&#x20;         events.shift();\
&#x20;       }\
&#x20;       events.push(eventData);\
&#x20;       window\.localStorage.setItem(connectAppAnalytics, JSON.stringify(events));\
&#x20;     }\
&#x20;   });\
\
&#x20; }());


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/platform-docs/zebratester-scripting/zebratester-user-guide/1.-get-a-load-test-session.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
