You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by GitBox <gi...@apache.org> on 2022/12/27 14:53:46 UTC

[GitHub] [jmeter] AditiR28 opened a new issue, #5753: HTTP 308 Permanent Redirect is not supported in jmeter 5.5

AditiR28 opened a new issue, #5753:
URL: https://github.com/apache/jmeter/issues/5753

   ### Expected behavior
   
   Hi,
   
   Today I have performed api testing in apache-jmeter-5.5.But when I tried to hit  POST api then in response body showing "308 Permanent Redirect" ..So ...Is this issue is resolved in apache-jmeter-5.5 or not? 
   
   Thanks,
   
   Here is attached screenshot
   
   <img width="518" alt="Screenshot 2022-12-27 at 8 15 34 PM" src="https://user-images.githubusercontent.com/43903335/209683260-7f852b59-004e-44b8-bc4a-08da9d4814c0.png">
   
   
   ### Actual behavior
   
   _No response_
   
   ### Steps to reproduce the problem
   
   1-Open Jmeter
   
   2- Create thread group ,add sampler request and add view results tree
   
   3- Provide POST API data in http request and provide that API .When you try to login then login url changes after user successfully registered
   
   4- Then see,308 Permanent Redirect error is showing in response body
   
   ### JMeter Version
   
   5.5
   
   ### Java Version
   
   _No response_
   
   ### OS Version
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] AditiR28 commented on issue #5753: HTTP 308 Permanent Redirect is not supported in jmeter 5.5

Posted by GitBox <gi...@apache.org>.
AditiR28 commented on issue #5753:
URL: https://github.com/apache/jmeter/issues/5753#issuecomment-1373690735

     Hi @FSchumacher          
   
   1- I am using that POST api which redirects the URL. So I want to confirm that in jmeter url redirects possible or not?
   
   2- Yes,I am  expected if I hit POST api in which url redirects then in jmeter URL redirects   possible or not?
   
   3-Have attached screenshot
   
   <img width="731" alt="Screenshot 2023-01-06 at 7 36 17 PM" src="https://user-images.githubusercontent.com/43903335/211028120-5fd620cc-0a0d-46a2-9d30-b0504b55f132.png">
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] AditiR28 commented on issue #5753: HTTP 308 Permanent Redirect is not supported in jmeter 5.5

Posted by GitBox <gi...@apache.org>.
AditiR28 commented on issue #5753:
URL: https://github.com/apache/jmeter/issues/5753#issuecomment-1373665444

   Hi @FSchumacher 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [jmeter] FSchumacher commented on issue #5753: HTTP 308 Permanent Redirect is not supported in jmeter 5.5

Posted by GitBox <gi...@apache.org>.
FSchumacher commented on issue #5753:
URL: https://github.com/apache/jmeter/issues/5753#issuecomment-1371355644

   Can you be a bit more specific, what you done and what you expected?
   
   * Why do you POST against an URL, that redirects you with a 308?
   * Do you expect JMeter to keep POST for the redirected URL?
     (It does not conform to newer RFCs as stated in https://github.com/apache/jmeter/blob/master/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java#L1730 )
   * What are the settings of the HTTP sampler used?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org