anteon icon indicating copy to clipboard operation
anteon copied to clipboard

Config file history

Open ramonmacias opened this issue 2 years ago • 2 comments

Hello, I tried to find this in your documentation but I couldn't, but there is some way that I can use the result of a response from one step to use it in the next step by using the config file? for example

"steps": [
        {
            "id": 1,
            "url": ".../authentication",
            "protocol": "http",
            "method": "POST",
            "headers": {
                "Content-Type": "application/json",
                "Accept": "application/json"
            },
            "payload": "some email an pass values",
            "timeout": 3,
            "others": {
                "keep-alive": true,
                "disableCompression": false,
                "h2": true,
                "disable-redirect": true
            }
        },
        {
            "id": 2,
            "url": "...../users",
            "protocol": "http",
            "method": "GET",
            "headers": {
                "Authorization": "Bearer {{TOKEN got from the step 1 call}}"
            },
            "timeout": 3,
            "others": {
                "keep-alive": true,
                "disableCompression": false,
                "h2": true,
                "disable-redirect": true
            }
        }
    ]

Thanks in advance!

ramonmacias avatar Feb 01 '22 14:02 ramonmacias

Hi @ramonmacias

That's exactly what we are working on these days. I can't give you an exact release date. But we are working hard to introduce a generic solution.

kursataktas avatar Feb 01 '22 15:02 kursataktas

thanks for the answer @kursataktas !

ramonmacias avatar Feb 01 '22 15:02 ramonmacias

Hi @ramonmacias

Ddosify v0.11.0 supports correlation. Please let us know if you face any issues.

kursataktas avatar Dec 29 '22 11:12 kursataktas