Normally, you can capture script by recording.
- First, you have to Threadgroup in Testplan and then make HTTPProxyServer in Workbench.
- After that, set port number in the Global Setting box (e.g., 8911) and modify your connection setting in IE as localhost in address 8911 as in port
- Then you can start http proxy server in JMeter and run your application for login.