GithubHelp home page GithubHelp logo

Comments (8)

Chojiwon avatar Chojiwon commented on June 20, 2024

I doubt there is a script error.

from ngrinder.

junoyoon avatar junoyoon commented on June 20, 2024

스크립트를 전달해 주시면 확인해 보도록 하겠습니다. 아무래도 스크립트에 쓰레드 넘버를 인지하게 하신듯 하군요

from ngrinder.

egoing avatar egoing commented on June 20, 2024

음 저는 기본적으로 ngrider에서 제공하는 코드를 사용했습니다만..
코드는 아래와 같습니다.

고맙습니다!

# -*- coding:utf-8 -*-

# A simple example using the HTTP plugin that shows the retrieval of a
# single page via HTTP. 
#
# This script is auto generated by ngrinder.
#
# @author admin
from net.grinder.script.Grinder import grinder
from net.grinder.script import Test
from net.grinder.plugin.http import HTTPRequest

test1 = Test(1, "Test1")
request1 = test1.wrap(HTTPRequest())

class TestRunner:
    def __call__(self):
        grinder.statistics.delayReports=True

        result = request1.GET("http://egoing.net")

        # result is a HTTPClient.HTTPResult. 
        # We get the message body using the getText() method.
        # if result.getText().find("HELLO WORLD") != -1 :
        #    grinder.statistics.forLastTest.success = 1
        # else :
        #    grinder.statistics.forLastTest.success = 0

        # if you want to print out log.. 
        # Don't use print keyword. This will make the output lost.
        # instead use following.
        # grinder.logger.info("Hello World")

        if result.getStatusCode() == 200 :
            grinder.statistics.forLastTest.success = 1
        else :
            grinder.statistics.forLastTest.success = 0

from ngrinder.

Chojiwon avatar Chojiwon commented on June 20, 2024

스크립트 페이지에서 타겟 호스트에 타겟 URL과 IP를 모두 입력하신 후 스크립트 검증을 해보시고, 이상이 없으시면
테스트 설정페이지에서 타겟 호스트에 URL과 IP 입력 후 다시 테스트 해보시길 바랍니다.

from ngrinder.

egoing avatar egoing commented on June 20, 2024

I attached the screencast.

말씀하신 스크립트 페이지 내에서 URL,IP 입력은 어떤 것을 말씀하시는건지 이해를 못해서요 대신 UI에서 도메인과 IP를 함께 입력해봤습니다. 의사 전달을 위해서 동영상으로 캡처를 해봤습니다. http://www.screenr.com/HeC7

바쁘신데 시간 내주셔서 고맙습니다

from ngrinder.

junoyoon avatar junoyoon commented on June 20, 2024

I can see a broken pipe exception in your screencast. This happens usually if there are some loads in agent already (CPU and Network)
Broken Pipe가 뜨네요. Controller 와 Agent 간의 통신이 불안정 한가 봅니다.

You should check the following.
일단 몇가지 확인하셔야 할 것이..

  • You're using OpenJDK right now in agent and controller side both. Please replace it with Oracle JDK 6.X or MacOS default JVM. We didn't run the test with OpenJDK.
  • 현재 OpenJDK를 쓰고 계신데, 그것을 Oracle JDK 6.X 대로 교체하여 실행해 보시기 바랍니다. OpenJDK는 저희가 테스트를 진행해 보지 않았습니다.

from ngrinder.

egoing avatar egoing commented on June 20, 2024

I resolved it replacing OpenJDK with OracleJDK. Thanks.

oracle-jdk로 변경해서 해결 했습니다. 고맙습니다. ^^
아마존 웹서비스를 이용해서 ngrinder를 구동시키는 방법에 대한 수업을 만들고 있는데요.
완성은 다 했는데 이 문제 때문에 처음부터 다시 만들려고요.
완성되면 검수 좀 부탁드리고 싶습니다.

완성될 수업의 URL은 아래와 같습니다.
http://opentutorials.org/module/351/3335

새해 복 많이 받으시고요.
좋은 솔루션 이렇게 공개해주셔서 고맙습니다.

from ngrinder.

junoyoon avatar junoyoon commented on June 20, 2024

We finnally resolved this issue. This issue comes from the user who use OpenJDK(untested) instead of OracleJDK(tested).

I guided the user to use OracleJDK

from ngrinder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.