@@ -5,9 +5,10 @@ export const options = {
55 stages : [
66 { duration : '1m' , target : 50 } , // 1분 동안 VU 50명 유지
77 { duration : '1m' , target : 100 } , // 1분 동안 VU 100명 유지
8- { duration : '1m' , target : 200 } , // 1분 동안 VU 200명 유지
9- { duration : '1m' , target : 300 } , // 1분 동안 VU 300명 유지
10- { duration : '1m' , target : 500 } , // 1분 동안 VU 500명 유지
8+ { duration : '1m' , target : 300 } , // 1분 동안 VU 200명 유지
9+ { duration : '1m' , target : 500 } , // 1분 동안 VU 300명 유지
10+ { duration : '1m' , target : 700 } , // 1분 동안 VU 500명 유지
11+ { duration : '1m' , target : 1000 } , // 1분 동안 VU 500명 유지
1112 { duration : '1m' , target : 0 } , // 점진적 종료
1213 ] ,
1314} ;
@@ -17,21 +18,23 @@ const BASE_URL = 'http://spring:8080';
1718export default function ( ) {
1819 // 강북구 고정 좌표
1920 const bounds = {
20- south : 37.6335 ,
21- north : 37.6535 ,
22- west : 127.0011 ,
23- east : 127.0211 ,
21+ south : 33.0 ,
22+ north : 39.5 ,
23+ west : 124.01 ,
24+ east : 131.0 ,
25+ zoom : 1
2426 } ;
2527
26- const url = `${ BASE_URL } /maps/diaries/marker ?south=${ bounds . south } &north=${ bounds . north } &west=${ bounds . west } &east=${ bounds . east } ` ;
28+ const url = `${ BASE_URL } /maps/diaries/cluster ?south=${ bounds . south } &north=${ bounds . north } &west=${ bounds . west } &east=${ bounds . east } &zoom= ${ bounds . zoom } ` ;
2729
28- group ( 'Get Diary Markers (Gangbuk-gu fixed bounds)' , ( ) => {
30+ group ( 'Get Diary Clusters (Gangbuk-gu fixed bounds)' , ( ) => {
2931 const res = http . get ( url , {
3032 headers : {
3133 'Content-Type' : 'application/json' ,
3234 } ,
3335 } ) ;
3436
37+
3538 check ( res , {
3639 'status is 200' : ( r ) => r . status === 200 ,
3740 } ) ;
0 commit comments