|
6 | 6 | <collectionProp name="Arguments.arguments"> |
7 | 7 | <elementProp name="baseUrl" elementType="Argument"> |
8 | 8 | <stringProp name="Argument.name">baseUrl</stringProp> |
9 | | - <stringProp name="Argument.value">http://localhost:8080</stringProp> |
| 9 | + <stringProp name="Argument.value">43.201.208.238</stringProp> <!-- EC2 공인 IP --> |
10 | 10 | </elementProp> |
11 | 11 | </collectionProp> |
12 | 12 | </elementProp> |
13 | 13 | </TestPlan> |
14 | 14 | <hashTree> |
15 | 15 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="User Thread Group" enabled="true"> |
16 | 16 | <stringProp name="ThreadGroup.num_threads">10</stringProp> <!-- 유저 수 --> |
17 | | - <stringProp name="ThreadGroup.ramp_time">5</stringProp> <!-- 증가 시간 .--> |
| 17 | + <stringProp name="ThreadGroup.ramp_time">5</stringProp> <!-- 증가 시간 --> |
18 | 18 | <longProp name="ThreadGroup.duration">60</longProp> <!-- 테스트 시간 --> |
| 19 | + <boolProp name="ThreadGroup.scheduler">true</boolProp> |
19 | 20 | </ThreadGroup> |
20 | 21 | <hashTree> |
21 | 22 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Generate Questions API" enabled="true"> |
|
24 | 25 | <stringProp name="HTTPSampler.protocol">http</stringProp> |
25 | 26 | <stringProp name="HTTPSampler.path">/api/ai/generate-questions</stringProp> |
26 | 27 | <stringProp name="HTTPSampler.method">POST</stringProp> |
27 | | - <stringProp name="HTTPSampler.postBodyRaw">true</stringProp> |
| 28 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
28 | 29 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
29 | 30 | <collectionProp name="Arguments.arguments"> |
30 | 31 | <elementProp name="textBody" elementType="HTTPArgument"> |
31 | 32 | <stringProp name="Argument.name"></stringProp> |
32 | 33 | <stringProp name="Argument.value">{"userId":"1234","content":"Sample content for testing"}</stringProp> |
33 | 34 | <stringProp name="HTTPArgument.always_encode">false</stringProp> |
34 | 35 | <stringProp name="HTTPArgument.use_equals">false</stringProp> |
| 36 | + <stringProp name="Argument.metadata">=</stringProp> |
| 37 | + <boolProp name="HTTPArgument.urlEncode">false</boolProp> |
| 38 | + </elementProp> |
| 39 | + </collectionProp> |
| 40 | + </elementProp> |
| 41 | + <stringProp name="HTTPSampler.contentEncoding">UTF-8</stringProp> |
| 42 | + <elementProp name="HeaderManager.headers" elementType="HeaderManager"> |
| 43 | + <collectionProp name="HeaderManager.headers"> |
| 44 | + <elementProp name="" elementType="Header"> |
| 45 | + <stringProp name="Header.name">Content-Type</stringProp> |
| 46 | + <stringProp name="Header.value">application/json</stringProp> |
35 | 47 | </elementProp> |
36 | 48 | </collectionProp> |
37 | 49 | </elementProp> |
|
0 commit comments