1, prepared by manually adding the configuration element
2, jmeter + badboy tool for recording --- not recommended
3, set up a proxy server (jmeter add 'non-testing element -http proxy server', then add a thread group to retain proxy crawl url, browser proxy settings. After the need to close the browser proxy or no Internet access)