# K6 Load Testing Debugging Using a Web Proxy ![rw-book-cover](https://k6.io/blog/static/0b50df15c04f3871767e5e3cb364aff7/e986d/blog-image.png) URL:: https://k6.io/blog/k6-load-testing-debugging-using-a-web-proxy Author:: k6.io ## Highlights > All of the WDPs listed above operate in the same way, with most also providing different ways of proxying (such as reverse proxying). To deal with encrypted HTTPS, they all require the installation of a certificate that enables the proxy to act as a Certificate Authority (the mitmproxy documentation provides a [great explanation](https://docs.mitmproxy.org/stable/concepts-howmitmproxyworks/) on how exactly that works). ([View Highlight](https://read.readwise.io/read/01fdjwv6hg20qxh0r04y849d0z)) > > Remember to switch out of the proxy before running your load test! > > > > These web proxies are not designed for high throughput. You will experience longer response times, and your host OS may run out of resouces trying to log everything happening in the WDP UI. > > > > Switching between using a proxy and not using one can be achieved by setting the relevant Environment Variables to empty, i.e. HTTP_PROXY="" and/or HTTPS_PROXY="". ([View Highlight](https://read.readwise.io/read/01fdjwvx4hak50drwexr6zzs69)) --- Title: K6 Load Testing Debugging Using a Web Proxy Author: k6.io Tags: readwise, articles date: 2024-01-30 --- # K6 Load Testing Debugging Using a Web Proxy ![rw-book-cover](https://k6.io/blog/static/0b50df15c04f3871767e5e3cb364aff7/e986d/blog-image.png) URL:: https://k6.io/blog/k6-load-testing-debugging-using-a-web-proxy Author:: k6.io ## AI-Generated Summary In this tutorial, we'll explore the use of web debugging proxies to help debug performance tests. ## Highlights > All of the WDPs listed above operate in the same way, with most also providing different ways of proxying (such as reverse proxying). To deal with encrypted HTTPS, they all require the installation of a certificate that enables the proxy to act as a Certificate Authority (the mitmproxy documentation provides a [great explanation](https://docs.mitmproxy.org/stable/concepts-howmitmproxyworks/) on how exactly that works). ([View Highlight](https://read.readwise.io/read/01fdjwv6hg20qxh0r04y849d0z)) > > Remember to switch out of the proxy before running your load test! > > > > These web proxies are not designed for high throughput. You will experience longer response times, and your host OS may run out of resouces trying to log everything happening in the WDP UI. > > > > Switching between using a proxy and not using one can be achieved by setting the relevant Environment Variables to empty, i.e. HTTP_PROXY="" and/or HTTPS_PROXY="". ([View Highlight](https://read.readwise.io/read/01fdjwvx4hak50drwexr6zzs69))