{"action":"created","issue":{"url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts/issues/1","repository_url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts","labels_url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts/issues/1/comments","events_url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts/issues/1/events","html_url":"https://github.com/jmeterbyexample/jmeter-test-scripts/issues/1","id":197281239,"number":1,"title":"Pre-Processor Test Plan jsessionid is blank in each request","user":{"login":"izaac","id":27659,"avatar_url":"https://avatars.githubusercontent.com/u/27659?v=3","gravatar_id":"","url":"https://api.github.com/users/izaac","html_url":"https://github.com/izaac","followers_url":"https://api.github.com/users/izaac/followers","following_url":"https://api.github.com/users/izaac/following{/other_user}","gists_url":"https://api.github.com/users/izaac/gists{/gist_id}","starred_url":"https://api.github.com/users/izaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izaac/subscriptions","organizations_url":"https://api.github.com/users/izaac/orgs","repos_url":"https://api.github.com/users/izaac/repos","events_url":"https://api.github.com/users/izaac/events{/privacy}","received_events_url":"https://api.github.com/users/izaac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-22T22:38:41Z","updated_at":"2016-12-22T23:22:44Z","closed_at":null,"body":"Hello, \r\n\r\nI'm following your book and got up to the chapter about the pre-processors specifically the HTTP URL Re-writing Modifier I start the web application on localhost and start the test. \r\n\r\nThen I check the Order History as described at the end of the steps of section 8.1 of the book. No history is recorded. I check the Jetty server log and noticed:\r\n\r\nsession id --> null\r\n\r\nAfter that I've taken a closer look to the requests sent by JMeter and I notice the jsessionid= parameter is sent blank. For example:\r\n\r\n http://localhost:8080/order/placeOrder;jsessionid=\r\n\r\nI'm using JMeter 3.1\r\n"},"comment":{"url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts/issues/comments/268912758","html_url":"https://github.com/jmeterbyexample/jmeter-test-scripts/issues/1#issuecomment-268912758","issue_url":"https://api.github.com/repos/jmeterbyexample/jmeter-test-scripts/issues/1","id":268912758,"user":{"login":"saimatam","id":11460652,"avatar_url":"https://avatars.githubusercontent.com/u/11460652?v=3","gravatar_id":"","url":"https://api.github.com/users/saimatam","html_url":"https://github.com/saimatam","followers_url":"https://api.github.com/users/saimatam/followers","following_url":"https://api.github.com/users/saimatam/following{/other_user}","gists_url":"https://api.github.com/users/saimatam/gists{/gist_id}","starred_url":"https://api.github.com/users/saimatam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saimatam/subscriptions","organizations_url":"https://api.github.com/users/saimatam/orgs","repos_url":"https://api.github.com/users/saimatam/repos","events_url":"https://api.github.com/users/saimatam/events{/privacy}","received_events_url":"https://api.github.com/users/saimatam/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T23:22:44Z","updated_at":"2016-12-22T23:22:44Z","body":"Izaac,\r\n\r\nCertain Web Servers do not support sessions in Cookies. They expect the sessionid as a part of URL. Only in such cases you would need URL rewriting.\r\n\r\nThis example in section **8.1 HTTP URL Re-writing Modifier** expects the URL to have sessionid. The **dt** application needs to be run with a special environment variable **SESSION_IN_URL** set to **true**\r\n\r\nPlease look at the **Appendix B**.\r\n\r\n**B.1.2. Start With URL ReWriting Enabled**\r\n```\r\n$ export SESSION_IN_URL=true\r\n$ ./startDt.sh\r\n```\r\n\r\nLet me know if this solved your issue.\r\n\r\nregards,\r\nSai Matam"}}
{"actor":{"display_login":"saimatam"}}