Closed henning410 closed 4 months ago
Fixed this by changing the Dockerfile to:
FROM gradle:7.6.2-jdk11-jammy
RUN apt-get update && apt-get install -y python3 python3-pip
WORKDIR /app
COPY requirements.txt /app/
RUN pip3 install --no-cache-dir -r requirements.txt
CMD gradle run
Hey again :) I try to fuzz some app where endpoints are secured with token. The token is valid for 60s. I created some script, which retrieves a valid token and prints the header: I tested this script before and after executing RestTestGen, this works.
The script returns:
{"name": "Authorization", "value": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEsInVzZXJuYW1lIjoiam9obl9kb2UiLCJpYXQiOjE3MTgwMjUyNDgsImV4cCI6MTcxODAzMTI0OH0.GKQs4DJ9YeUmquoTMXdN2DP3DhneoZPyUa6DLt2avns", "in": "header", "duration": 60}
When executing RestTestGen, I receive: