Skip to content

Commit

Permalink
chore(proxy): add proxies on mondial relay test
Browse files Browse the repository at this point in the history
  • Loading branch information
Noooste committed Aug 13, 2024
1 parent c211aa9 commit 260f78c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/ja3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"encoding/json"
"github.com/Noooste/azuretls-client"
"log"
"os"
"strings"
"sync"
"testing"
Expand Down Expand Up @@ -295,6 +296,10 @@ func TestGetMondialRelay(t *testing.T) {
session := azuretls.NewSession()
defer session.Close()

if err := session.SetProxy(os.Getenv("NON_SECURE_PROXY")); err != nil {
t.Fatal(err)
}

resp, err := session.Get("https://www.mondialrelay.fr/suivi-de-colis/")

if err != nil {
Expand Down

0 comments on commit 260f78c

Please sign in to comment.