beyond-sw-camp / be01-101

Beyond SW camp first player 101
17 stars 2 forks source link

Who's the culprit? #46

Open pySatellite opened 9 months ago

pySatellite commented 9 months ago

image

image

pySatellite commented 9 months ago
pySatellite commented 9 months ago

docker stats

$ cat docker-stats.sh
#!/bin/bash

now=$(date +'%d_%b_%Y_%H_%M')

while true; do
  printf "\n$(date +'%d_%b_%Y_%H_%M_%S'):\n" | tee --append stats_$now.txt
  sudo docker stats --no-stream | tee --append stats_$now.txt
  sleep 1
done

RUN

$ sh docker-stats.sh
pySatellite commented 9 months ago

테스트 시나리오 설정

image

@Test
public void test() {
    HTTPResponse response = request.GET("http://aws.google.com:9889/", params)

    if (response.statusCode == 301 || response.statusCode == 302) {
        grinder.logger.warn("Warning. The response may not be correct. The response code was {}.", response.statusCode)
    } else {
        assertThat(response.statusCode, is(200))
    }

    grinder.sleep(1000)
}
INAUGURATE-Ryong commented 9 months ago
choi3179 commented 9 months ago
CoffeerLatte commented 9 months ago
papercrane55123 commented 9 months ago
jsmin6330 commented 9 months ago
dana096 commented 9 months ago