[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
siliconforks.com • View topic - JSCoverage-Server --proxy is not working

Silicon Forks » Forum

It is currently 2019-11-17 12:41 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2010-01-29 2:23 pm 
I am using jscoverage-server –proxy for getting the storage report. I followed the steps given in the manual
1. I copied jscoverage-server.exe into my tomcat/webapps/myappl-name directory
2. from command prompt I run the jscoverage-server --proxy --ip-address=10.10.10.10 --port=8080
3. I opened the browser (IE) window and given the url 10.10.10.10:8080/jscoverage.html
4. I typed myHost/myapplication in the url box and click Go Button
5. It opens the application and I go to the summary Tab. I have seen no data

Please help me on this Thanks in advance.


Thanks,
SK


Top
  
Reply with quote  
PostPosted: 2010-01-29 8:22 pm 
Offline

Joined: 2008-10-11 6:52 pm
Posts: 120


Top
 Profile  
Reply with quote  
PostPosted: 2010-02-01 10:06 am 
Try using the --verbose command line option here - it is easier to diagnose problems.
Our application doesn’t support anyother browser. It supports only IE.
What is the actual URL you are using? (What is "myHost/myapplication"?)
http://20.167.32.98:9080/login
More Info:
10.10.10.10 is my machine name and the application hosted on the server. I am accessing the application from my machine and run the scripts. Please help me if I missed out anything here.


Thanks
SK


Top
  
Reply with quote  
PostPosted: 2010-02-01 6:17 pm 
Offline

Joined: 2008-10-11 6:52 pm
Posts: 120
The jscoverage.html URL must use the same host as your application being tested. So you have to use http://20.167.32.98:9080/jscoverage.html to get any coverage data.


Top
 Profile  
Reply with quote  
PostPosted: 2010-02-02 11:10 am 
Thanks for your help on this regard.
But I am still not able to see the report.
Again I repeat the step that I can performed.

1. Run the jscoverage-server in the command prompt using the following option
jscoverage-server -- Proxy --verbose --ip-address=10.10.10.10 --port=8080
2. Go to the LAN settings of IE and provided proxy server address as 10.10.10.10 and port=8080
3. Open the new IE window and typed the following address.
a. http://20.167.32.98:9080/jscoverage.html
b. Type logon.jsp in the addressbar and click go button
4. My application start running and I am able to see the JS file in the commend prompt.
GET http://20.167.32.98:9080/touchpoint/js/globalsJSP.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/constants.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/session/session.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... ions_SI.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... matter.vbs HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/acc ... ctTypes.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/products.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/stringUtil.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/Logger.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/hostSupport.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... port_RM.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... port_ST.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... port_IM.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... ort_PRF.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... Factory.js HTTP/1.1
GET http://20.167.32.98:9080/touchpoint/js/ ... nerator.js
5. I am able to save the report but if I open the jscoverage-report/jscoverage.html , there is no coverage detail in the report.

So please let me know where I am doing the mistake.


Top
  
Reply with quote  
PostPosted: 2010-02-02 7:40 pm 
Offline

Joined: 2008-10-11 6:52 pm
Posts: 120


Top
 Profile  
Reply with quote  
PostPosted: 2010-02-03 9:44 am 
I am able to see the coverage result now. Thanks for your help all the way.

however, there is an issue.

jscoverage-server: http:// 20.167.32.98:9080/touchpoint/js/xml.js: script contains line with more than 65,535 characters

jscoverage-server: http://fis-tpapps06-in:9080/touchpoint/ ... saction.js: script contains line with more than 65,535 characters

our JS files are too large and I received these error frequently.
Can you help me to solve this?

Thanks in advance
SK


Top
  
Reply with quote  
PostPosted: 2010-02-03 5:08 pm 
Offline

Joined: 2008-10-11 6:52 pm
Posts: 120


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group