脚本里面不支持*号

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

脚本里面不支持*号

Kingo
我的脚本里面用了下面的语句就报错

from com.xxx.yyy import *

就会报模块xxx找不找,在grinder这么写是没问题的。这是什么原因?
Reply | Threaded
Open this post in threaded view
|

RE: 脚本里面不支持*号

Mavlarn

在ngrinder里,需要的包或者类是放在跟脚本同目录下的lib目录里面。

 

-----Original Message-----
From: "Kingo [via ngrinder]"<[hidden email]>
To: "Mavlarn"<[hidden email]>;
Cc:
Sent: 2014-02-18 (星期二) 18:20:09
Subject: 脚本里面不支持*号

我的脚本里面用了下面的语句就报错

from com.xxx.yyy import *

就会报模块xxx找不找,在grinder这么写是没问题的。这是什么原因?


If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/-tp1311.html
To start a new topic under ngrinder-user-cn, email [hidden email]
To unsubscribe from ngrinder-user-cn, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

RE: 脚本里面不支持*号

Kingo
各个能试的目录都试了,直接指定到类名就可以,用*号就报错
Reply | Threaded
Open this post in threaded view
|

Re: 脚本里面不支持*号

junoyoon
Administrator
This is the limitation of the underlying Jython 2.5. Please use groovy. it's much better.


2014-02-19 10:45 GMT+09:00 Kingo [via ngrinder] <[hidden email]>:
各个能试的目录都试了,直接指定到类名就可以,用*号就报错


If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/-tp1311p1313.html
To start a new topic under ngrinder-user-cn, email [hidden email]
To unsubscribe from ngrinder-user-cn, click here.
NAML