views:

72

answers:

1

I use jmeter to record the requests and then perform a performance test. after i records all the requests with proxy server. and these requests contain post form. after that I run the test cases, but I found the post form not work, it can not create a record in website's database automatically. but before that i used webload, everything is oKK What's the problem ?What can i do for this ?

+1  A: 
  1. Does your JMeter test contain an HTTP cookie manager?
Brian
NO, do i need to add this ?
MemoryLeak
Yes. If your using Session, the HTTP cookie manager will persist the cookie between each sample for the same thread. Think of JMeter as the ultimate incognito browser -it does nothing by default between each http request.
Brian