Protocol / Server Name or IP / Method(POST or GET) / Path / Parameters 입력
5> Listener 추가 (결과 확인)
Test Plan 우클릭 > Add > Listener > 유형선택
① ~ ⑥의 유형은 아래와 같은 결과를 보여준다.
① View Results Tree : 요청별로 상세정보를 확인할 수 있다. – 결과값 / 요청값 / 응답데이터 확인가능 – 전체 요청에 대한 검색기능 제공
② View Results in Table : 모든 결과를 Table로 보여준다. – Sample : ID번호 – Start Time : 부하 시작시간 – Thread Name : Thread Group Name – Label : request 이름 – Sample Time(ms) : 요청 시작부터 응답 종료까지의 시간 (Load Time, Elapsed Time, Response Time 과 동일한 의미) – Status : 응답 상태 – Bytes : 응답 데이터 바이트 – Sent Byte : 요청 데이터 바이트 – Latency : 요청 시작부터 응답 시작까지의 시간 (지연 속도) – Connect Time(ms) : TCP Handshake 이후 연결된 시간 – No of Samples : 처리중인 데이터의 수 – Latest Sample : 가장 마지막 Sample Time – Average : Sample Time 평균 – Deviation : Sample Time의 표준편차
③ Graph Result : 대략적인 그래프
④ Summery Report : 결과 레포트 – Samples : requset 갯수 – Average : Sample Time 평균 – Min : Sample Time 최소 – Max : Sample Time 최대 – Std. Dev. : Sample Time 표준편차 – Error % : 에러율 – Throughput : 시간당 처리량 – Received KB/sec : 시간당(sec) 받은 데이터(KB) – Sent KB/sec : 시간당(sec) 보낸 데이터(KB) – Avg. Bytes : 평균 바이트
프로세스를 종료 하였음에도 메모리가 정상해지 되지 않았거나 프로세스 엔트리에 남아 실행되고 있는 경우 이를 제거 하는 방법을 정리한다.
테스트서버 : Ubuntu22.04
작성일 : 2023-01-03
Zombie
On Unix operating systems, a zombie process or defunct process is a process that has completed execution but still has an entry in the process table, allowing the process that started it to read its exit status. In the term's colorful metaphor, the child process has died but has not yet been reaped.
When a process ends, all of the memory and resources associated with it are deallocated so they can be used by other processes. However, the process's entry in the process table remains. The parent is sent a SIGCHLD signal indicating that a child has died; the handler for this signal will typically execute the wait system call, which reads the exit status and removes the zombie. The zombie's process ID and entry in the process table can then be reused. However, if a parent ignores the SIGCHLD, the zombie will be left in the process table. In some situations this may be desirable, for example if the parent creates another child process it ensures that it will not be allocated the same process ID.