Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 31 18:56
    dependabot[bot] labeled #9
  • Mar 31 18:56
    dependabot[bot] opened #9
  • Mar 31 18:56

    dependabot[bot] on maven

    Bump spring-beans in /ngrinder-… (compare)

  • Mar 31 18:55
    dependabot[bot] labeled #8
  • Mar 31 18:55
    dependabot[bot] opened #8
  • Mar 31 18:55

    dependabot[bot] on maven

    Bump spring-beans from 4.1.1.RE… (compare)

  • May 12 2021 00:18
    dependabot[bot] labeled #7
  • May 12 2021 00:18
    dependabot[bot] opened #7
  • May 12 2021 00:18

    dependabot[bot] on maven

    Bump spring-security-web in /ng… (compare)

  • Apr 23 2021 02:59

    imbyungjun on master

    Bump up PF4j latest version Fix sso plugin README to use ne… Merge pull request #1 from nave… and 9 more (compare)

  • Apr 23 2021 02:59
    imbyungjun closed #6
  • Apr 23 2021 02:56
    donggyu04 opened #6
  • Apr 23 2021 02:54

    junoyoon on network-overflow-region

    (compare)

  • Apr 23 2021 02:53

    donggyu04 on develop

    Migrate to fit in agent identit… Update network overflow plugin … Merge pull request #5 from nave… (compare)

  • Apr 23 2021 02:53
    donggyu04 closed #5
  • Apr 22 2021 11:04
    imbyungjun commented #5
  • Apr 22 2021 11:00
    imbyungjun synchronize #5
  • Apr 22 2021 11:00

    imbyungjun on network-overflow-region

    Migrate to fit in agent identit… Update network overflow plugin … (compare)

  • Apr 22 2021 10:57
    imbyungjun commented #5
  • Apr 22 2021 10:50
    donggyu04 commented #5
JunHo Yoon
@junoyoon
So.. there is not much constraints on running spring lib in ngrinder.
One thing I suspect is.. the use of instrumentation library. Could you post all the dependencies which u used?
@MeYoung please post your script.
It seems just like the groovy syntax error.
米阳
@MeYoung
@junoyoon hi. my script :

import static net.grinder.script.Grinder.grinder
import static org.junit.Assert.
import static org.hamcrest.Matchers.

import net.grinder.plugin.http.HTTPRequest
import net.grinder.plugin.http.HTTPPluginControl
import net.grinder.script.GTest
import net.grinder.script.Grinder
import net.grinder.scriptengine.groovy.junit.GrinderRunner
import net.grinder.scriptengine.groovy.junit.annotation.BeforeProcess
import net.grinder.scriptengine.groovy.junit.annotation.BeforeThread
// import static net.grinder.util.GrinderUtils.* // You can use this if you're using nGrinder after 3.2.3
import org.junit.Before
import org.junit.BeforeClass
import org.junit.Test
import org.junit.runner.RunWith

import java.util.Date
import java.util.List
import java.util.ArrayList

import HTTPClient.Cookie
import HTTPClient.CookieModule
import HTTPClient.HTTPResponse
import HTTPClient.NVPair

/**

  • A simple example using the HTTP plugin that shows the retrieval of a
  • single page via HTTP.
  • This script is automatically generated by ngrinder.
  • @author admin
    */
    @RunWith(GrinderRunner)
    class TestRunner {

    public static GTest test
    public static HTTPRequest request
    public static NVPair[] headers = []
    public static NVPair[] params = []
    public static Cookie[] cookies = []

    @BeforeProcess
    public static void beforeProcess() {

     HTTPPluginControl.getConnectionDefaults().timeout = 6000;
     test = new GTest(1, "test");
     request = new HTTPRequest();
     grinder.logger.info("before process.");

    }

    @BeforeThread
    public void beforeThread() {

     grinder.statistics.delayReports=true;
     grinder.logger.info("before thread.");
     test.record(this, "test");

    }

    @Before
    public void before() {

     request.setHeaders(headers)
     cookies.each { CookieModule.addCookie(it, HTTPPluginControl.getThreadHTTPClientContext()) }
     grinder.logger.info("before thread. init headers and cookies");

    }

    @Test
    public void test(){

     HTTPResponse result = request.GET("http://www.baidu.com", params)
    
     if (result.statusCode == 301 || result.statusCode == 302) {
         grinder.logger.warn("Warning. The response may not be correct. The response code was {}.", result.statusCode); 
     } else {
         assertThat(result.statusCode, is(200));
     }

    }
    }

It is auto create script.
JunHo Yoon
@junoyoon
@MeYoung I think u added mistakenly hidden text... so the error message is &..
Could you recreate new test with clean text "www.baidu.com"?
geunwoo son
@songeunwoo
I think even as a syntax error.
스크린샷 2016-09-05 오전 10.19.49.png
Try this generation.
米阳
@MeYoung
ngrinder.gif
@junoyoon
JunHo Yoon
@junoyoon
@MeYoung Thanks! It's definately.. bug. We'll fix.
Thanks!
ngrinder520
@ngrinder520
hello everybody,Ask a question please
blob
This list does not display the Local area network IP ,why?
ngrinder520
@ngrinder520
Before deploying ngrinder environment are shows LAN IP
geunwoo son
@songeunwoo
agent download forder check
agent_conf file
ngrinder520
@ngrinder520
common.start_mode=agent
agent.controller_host=10.111.96.39
agent.controller_port=16001
agent.region=NONE

agent.host_id=

agent.server_mode=true

provide more agent java execution option if necessary.

agent.java_opt=

set following false if you want to use more than 1G Xmx memory per a agent process.

agent.limit_xmx=true

please uncomment the following option if you want to send all logs to the controller.

agent.all_logs=true

some jvm is not compatible with DNSJava. If so, set this false.

agent.enable_local_dns=false

blob
geunwoo son
@songeunwoo
this ip that agent runing server
ngrinder520
@ngrinder520
blob
Press resource usage rate is not high, if you modify the system configuration increase the vuer each agent, will lead to an unstable press?
geunwoo son
@songeunwoo
I think, Then try it to know it.
Depending on the situation the target server.
I don't know your target server status.
ngrinder520
@ngrinder520
blob
blob
I started 7 agents, however, can only use a maximum of 5 agent at a time
blob
System configuration in the default can use 10 agent, why only 5 agent work?
geunwoo son
@songeunwoo
please check agent list.
How many available agent?
and i see System configuration file
controller.max_agent_per_test option seems disabled.
ngrinder520
@ngrinder520
How much is the default value of this option?
geunwoo son
@songeunwoo
default 5 agent.
ngrinder520
@ngrinder520
my controller.max_agent_per_test option seems is disabled
blob
Why can I use my 6 agent performs the test?
geunwoo son
@songeunwoo
I think, that number is the number of agents currently active?
ngrinder520
@ngrinder520
blob
no, execute the test ngriner did use the six agent
geunwoo son
@songeunwoo
you check AgentManager active agent.
I think 6 active agent.
ngrinder520
@ngrinder520
blob
blob