File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,27 @@ _This repository is a work in progress_
5
5
The main purpose of this repository is to visualize the differences between the
6
6
[ Sentry JS SDK] ( https://github.com/getsentry/sentry-javascript ) version 7 and version 8. Those
7
7
example applications can also be used as a reference for using the JS SDKs.
8
+
9
+ ## How to test apps and save the payloads
10
+
11
+ 1 . Change the ` APP ` variable of ` utils/event-proxy-server/src/event-proxy-server.ts ` to the app
12
+ folder name you want to test.
13
+ - Example: ` apps/express ` -> ` APP = 'express' `
14
+ 2 . Make sure you have a folder named like the app in ` utils/event-proxy-server/payload-files ` .
15
+ - Example: ` apps/express ` -> ` utils/event-proxy-server/payload-files/express `
16
+ 3 . Run ` yarn start:proxy-server ` .
17
+ 4 . Run ` yarn start:[app] ` like ` start:express ` .
18
+ 5 . Check the "Disable Cache" option in the DevTools Network tab of your browser.
19
+ 6 . Open the following URLs in your browser.
20
+ 7 . The json file will be generated.
21
+
22
+ ### Test URLs
23
+
24
+ - http://localhost:3030/test-success
25
+ - http://localhost:3030/test-error
26
+ - http://localhost:3030/test-param-success/1337
27
+ - http://localhost:3030/test-param-error/1337
28
+ - http://localhost:3030/test-success-manual
29
+ - http://localhost:3030/test-error-manual
30
+ - http://localhost:3030/test-local-variables-caught
31
+ - http://localhost:3030/test-local-variables-uncaught
You can’t perform that action at this time.
0 commit comments