Hello I'm using JMeter for testing an application but before trying any complex test plan I decided to try a simple request.
My test plan is like this:
Sampler --> HTTP Request
Name: redirect test
Server Name or IP: localhost/sample
Method: GET
Path: redir.php
My redir.php has this code <meta http-equiv="refresh" content="0;url=here.php">
And my here.php file contains this text : HELLO, YOU HAVE BEEN REDIRECTED
After that, I create a Response assertion
that searchs for the word 'HELLO'.
When I execute the plan and check the results in the View Results Tree
listener it says an error ocurred because the word 'HELLO' was not found.
This image shows my HTTP Request configuration
http://s7.postimg.org/k19tw7p0r/http_Request.png
And this one the Assert:
http://s4.postimg.org/4dg2sebfh/htpp.png
And this is the error JMeter returns to me
http://s8.postimg.org/dxbl00wv9/error_fdfdf.png
I have been searching and I found this in the response data section:
http://s9.postimg.org/h49m8ippr/redirect.png
Looks like Jmeter is searching the string 'HOLA' in the response.
I appreciate any help