Contributions
Re: How is the average worked out exactly?
Hi, I also have a question about average time. when I got a result file as PDF, "Web page runner" and "Statistics" both have "avg". However, both are different. I wonder which one is more reliable. My project is very simple. Only web runner, trigger, and statistics. I ran it via command line and get a pdf file. Could you explain about this?13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes0CommentsWeb page address can use parameter?
Hi, I am a newbie and I have a question about parameterizing. I created simple project that consists of fixed rate, web page runner, and statistics. and I ran it via command line for using parameter, then I've gotten a error. 16:27:03,531 ERROR [WebRunner] Exception in closure sample: java.lang.IllegalArgumentException at java.net.URI.create(Unknown Source) at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at GroovycomeviwareWebRunner$_run_closure13.doCall(GroovycomeviwareWebRunner:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:885) at groovy.lang.Closure.call(Closure.java:405) at com.eviware.loadui.groovy.GroovyScriptSupport.invokeClosure(GroovyScriptSupport.java:134) at com.eviware.loadui.groovy.categories.GroovyRunner.sample(GroovyRunner.java:47) at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496) at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70) at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773) at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188) at java.lang.Thread.run(Unknown Source) Caused by: java.net.URISyntaxException: Illegal character in authority at index 7: http://${=System.getProperty("myURL")} at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.parseAuthority(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 28 more 16:27:03,533 ERROR [BaseCategory] Exception when calling 'sample' java.lang.IllegalArgumentException at java.net.URI.create(Unknown Source) at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77) at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at GroovycomeviwareWebRunner$_run_closure13.doCall(GroovycomeviwareWebRunner:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:885) at groovy.lang.Closure.call(Closure.java:405) at com.eviware.loadui.groovy.GroovyScriptSupport.invokeClosure(GroovyScriptSupport.java:134) at com.eviware.loadui.groovy.categories.GroovyRunner.sample(GroovyRunner.java:47) at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496) at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70) at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773) at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188) at java.lang.Thread.run(Unknown Source) Caused by: java.net.URISyntaxException: Illegal character in authority at index 7: http://${=System.getProperty("myURL")} at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.parseAuthority(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) ... 28 more Do you have any idea about it? or did I something wrong? Thanks in advanced. Jake13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes1CommentWrite into Text file is not working properly.
Hi, I am using TC for localization string things. Now, what I am doing is writing a string into a text file. I used 'writeline' method but it worksweirdly. Current language that I work on is Japanese and it looks fine on Log, but when I look at the file, some of last characters are missing. E.g. I try to wirte 'はじめまして。お会いできて嬉しいです。' to file but TC write onlyはじめまして。おx. like this. last part are broken. My TC version is 8.5.618.7. It is issue or my script is wrong? Thanks in Advance. Jake13KViews0likes2CommentsHow to verify the URL in the script?
Hi, I just want to verify the URL accessibility without web-browser. For example, I have the url that is "http://www.google.com". Then I want to make sure the accessibility of this url. Is there any simply way to verify the URL? Thanks, Jake.12KViews0likes1CommentIs it possible to load all DLL functions into TestComplete?
Hi, I want to call all the functions from DLL like 'include' in C. I read the article "How to Call a DLL Routine From your script". This can call only one function, if I understood correctly. I wonder how can I call all the DLL into TestComplete? It is possible? Thanks in advanced. Jake.13KViews0likes3CommentsTestComplete can test .DLL file without lauching application?
Hi, I try to use TestComplete for functional test for web service, and want to test Test Client functions without luanching application. I thought if I can call some kinds of .DLL file into TestComplete, I can test functions without application. Is it right idea? Thanks in advance. Jake10KViews0likes2Comments