FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NSmartProxy/test/auto_test.cmd at master · tmoonlight/NSmartProxy · GitHub
tmoonlight
/
NSmartProxy
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
385
Star
1.4k
Code
Issues
17
Pull requests
2
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
NSmartProxy
/
test
/
auto_test.cmd
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (31 loc) · 1.1 KB
Breadcrumbs
NSmartProxy
/
test
/
auto_test.cmd
Copy path
File metadata and controls
40 lines (31 loc) · 1.1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@
echo
off
echo
*** NSP TEST ***
set
buildPath
=
%~dp0
\build
set
testPath
=
%buildPath%
\netcoreapp3.0
set
nspClientPath
=
%buildPath%
\nspclient\netcoreapp3.0
set
nspServerPath
=
%buildPath%
\nspserver\netcoreapp3.0
REM
BUILD
MSBuild .\TestBed.sln /t:build
dotnet build ..\src\NSmartProxyClient\NSmartProxyClient.csproj
dotnet build ..\src\NSmartProxy.ServerHost\NSmartProxy.ServerHost.csproj
rem
run nsmartproxy
start
"
"
cmd
/c
"
%nspServerPath%
\NSmartProxy.ServerHost.exe
"
start
"
"
cmd
/c
"
%nspClientPath%
\NSmartProxyClient.exe
"
rem
Wait them ready...
powershell
Start-Sleep -Seconds
3
rem
appsettings
copy
"
%buildPath%
\_appsettings_server.txt
"
"
%nspServerPath%
\appsettings.json
"
/y
copy
"
%buildPath%
\_appsettings_client.txt
"
"
%nspClientPath%
\appsettings.json
"
/y
rem
start server
start
"
"
cmd
/c
"
%testPath%
/TcpServer.exe
"
%testPath%
/TcpClient.exe
rem
start client
start
"
"
cmd
/c
"
dotnet
%testPath%
/UdpServer.dll
"
dotnet
%testPath%
/UdpClient.dll
echo
===============================================
echo
TEST ACCOMPLISHeD
pause
rem
test service1 TCP
rem
test service2 UDP
rem
test service3 HTTP1
rem
test service4 HTTP2
Back
|
FazBrowse Home
|
New Git URL