I have extracted the jwt token from the User login controllerUser login controller through my http service my test plan looks like this[![result tree [![Test plan][]][1]][1]][2]this:
As seen in the images in login request it takes the header of Breakdown ConfigurationBreakdown Configuration and it doesn't take authorization token value pass as a JSON object in Bearer ${tokenBearer ${token
} although I have extracted it in JSON extractor and debug sampler
shows shows it. I have also used the once only controller but it doesn't solve the issue.
Please
Please help in the nested Header Manager and how to use it correctly. Even I have used Bean Shell processorBean Shell processor under my GETALL Bd-config request and pass the command :import org.apache.jmeter.protocol.http.control.Header;
import org.apache.jmeter.protocol.http.control.Header;
sampler.getHeaderManager().add(new Header("Authorization","Bearer " + vars.get("BEARER")));
sampler.getHeaderManager().add(new Header("Authorization","Bearer " + vars.get("BEARER"))); ButBut it doesntdoesn't solve the issue. Please guide [1]: https://i.sstatic.net/JREvT.png [2]: https://i.sstatic.net/GFzgE.png.