nerdpanda / test-analytics Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/test-analytics
Automatically exported from code.google.com/p/test-analytics
1. Run the following python code:
email = "correct email"
password = "correct password"
data = {'bug': [{'projectId': 'v100',
'title': 'test bug title',
'bugId': "333",
'path': '/1/3/3',
'severity': '1',
'priority': '2',
'groups': 'one',
'status': 'open',
'statusDate': '01/01/2013'
}],
'test': [{'projectId': 'v100',
'testId': '1234',
'title': 'switching sources',
'tags': 'no',
'result': 'failed',
'resultDate': '01/01/2013'
}],
'checkin': [{'projectId': 'v100',
'checkinId': '566',
'summary': "test summary",
'directories': '/home/users',
'state': 'committed',
'stateDate': '01/01/2013'
}]
}
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(),
urllib2.HTTPSHandler)
urllib2.install_opener(opener)
# Define URLs
loing_page_url = 'https://accounts.google.com/ServiceLogin'
gv_home_page_url = "https://test-analytics.appspot.com/api/data"
# Load sign in page
login_page_contents = opener.open(loing_page_url).read()
# Find GALX value
galx_match_obj = re.search(r'name="GALX"\s*value="([^"]+)"',
login_page_contents, re.IGNORECASE)
galx_value = galx_match_obj.group(1) if galx_match_obj.group(1) is not None
else ''
# Set up login credentials
login_params = urllib.urlencode({'Email': email,
'Passwd': password,
'GALX': galx_value
})
# Login
opener.open(loing_page_url, login_params)
# Open GV home page
# gv_home_page_contents = opener.open(gv_home_page_url).read()
# print gv_home_page_contents
req = urllib2.Request(url, json.dumps(data), headers)
print opener.open(req).read()
Actual result:
the following error appears:
Traceback (most recent call last):
File "/home/...../src/test2.py", line 333, in <module>
print opener.open(req).read()
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
result = self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/lib/python2.7/urllib2.py", line 406, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 444, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
Original issue reported on code.google.com by [email protected]
on 2 Sep 2013 at 12:54
Query failed
Original issue reported on code.google.com by [email protected]
on 3 Feb 2014 at 3:12
[deleted issue]
[deleted issue]
In
http://groups.google.com/group/test-analytics-discuss/browse_thread/thread/f2b19
0f9a74949f5 I said:
----
* I'd like to be able to navigate between capabilities from the Risk
Overview the same way that I can in the Capabilities view, i.e. being
able to see multiple capabilities at a time. Navigating down from the
Risk Overview (click on a cell, click on a capability) takes me to
another page and I then have to go back to choose another.
----
Original issue reported on code.google.com by [email protected]
on 25 Oct 2011 at 8:35
When try post a huge name for a project it returns a 500 error
Data:
Try add a project or update an existing project with the text:
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog BugBangBlog
BugBangBlog BugBangBlog
Have fun watching the app returning a beautiful 500 error ;)
Original issue reported on code.google.com by [email protected]
on 24 Nov 2012 at 5:47
Attachments:
condition:----
issue:--------
Original issue reported on code.google.com by [email protected]
on 24 Oct 2014 at 8:11
Yeah.... I did it :(
Just change the owners and save
Original issue reported on code.google.com by [email protected]
on 24 Nov 2012 at 6:03
Attachments:
my test failed....
Original issue reported on code.google.com by [email protected]
on 19 Jul 2012 at 7:37
Attachments:
[deleted issue]
I finally got the build working and then attempted to deploy the artifact
test-analytics-1.0-SNAPSHOT.war
Tomcat deploys the war fine but I cannot access the webapp. I used the tomcat
manager to deploy and then click on the link in the manager console which gives
me this:
Unable to connect
Firefox can't establish a connection to the server at localhost:8443.
Any suggestions?
Original issue reported on code.google.com by [email protected]
on 3 Feb 2012 at 10:22
Enter your feature request below (one feature request per issue, please!):
crm6
Original issue reported on code.google.com by [email protected]
on 5 May 2015 at 3:12
[deleted issue]
Trying to upload data to test analytics but getting 500 Internal Server Error.
with body:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 INTERNAL_SERVER_ERROR</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: INTERNAL_SERVER_ERROR</h1>
</body></html>
Even using GET instead POST witch should be processed as 500 Internal Server
Error:
with body:
<h1>GET is unsupported</h1>
To upload data, use POST.
returns wrong body:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 INTERNAL_SERVER_ERROR</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: INTERNAL_SERVER_ERROR</h1>
</body></html>
Original issue reported on code.google.com by [email protected]
on 9 Apr 2014 at 8:20
In
http://groups.google.com/group/test-analytics-discuss/browse_thread/thread/f2b19
0f9a74949f5
I said:
----
It'd be nice to be able to get an historical view of risk
change over time.
----
Jim said:
----
Ditto. I know project iteration support / timeline support is a needed
feature.
----
Original issue reported on code.google.com by [email protected]
on 25 Oct 2011 at 8:38
testes para nova ferramenta de testes.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2013 at 1:28
I have downloaded the software using the command:
git clone https://code.google.com/p/test-analytics/
This is according to the documentation available in the 'Source'.
I suppose we have to deploy this under tomcat or something some container.
Could you give the instructions to deploy this as an independent setup.
I couldn't find any relevant wiki post on deploying the source.
Original issue reported on code.google.com by [email protected]
on 9 Nov 2011 at 3:04
[deleted issue]
In
http://groups.google.com/group/test-analytics-discuss/browse_thread/thread/f2b19
0f9a74949f5 I said:
----
It'd be nice to be able to justify risk decisions, perhaps like a
commit message when you Save.
----
Jim said:
----
Audit trail & something like this would be a great idea -- feel free to file
this as a feature request as well.
----
Original issue reported on code.google.com by [email protected]
on 25 Oct 2011 at 8:37
[deleted issue]
[deleted issue]
You can use what you want as e-mail for project editors and viwers
Original issue reported on code.google.com by [email protected]
on 24 Nov 2012 at 5:56
Attachments:
The last checking (changing repository tag to pluginRepository) breaks the
build as gwt-dnd cannot be resolved anymore. I assume who ever checked it in
had a local copy of the jar in .m2.
Reverting resolved the gwt-dnd unresolved dependency but there are still
missing artifacts:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) javax.jdo:jdo2-api:jar:2.3-ec
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.jdo -DartifactId=jdo2-api -Dversion=2.3-ec -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.jdo -DartifactId=jdo2-api -Dversion=2.3-ec -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.datanucleus:maven-datanucleus-plugin:maven-plugin:1.1.4
2) javax.jdo:jdo2-api:jar:2.3-ec
----------
1 required artifact is missing.
for artifact:
org.datanucleus:maven-datanucleus-plugin:maven-plugin:1.1.4
from the specified remote repositories:
maven-secure.jive.snapshots (http://maven-secure.jiveland.com/archiva/repository/jive.snapshots),
maven-secure.jive.internal (http://maven-secure.jiveland.com/archiva/repository/jive.internal),
central (http://repo1.maven.org/maven2),
DN_M2_Repo (http://www.datanucleus.org/downloads/maven2/),
maven-int.snapshots (http://maven-int.jiveland.com/archiva/repository/snapshots),
has gwt-dnd 3.1.1 (http://gwtquery-plugins.googlecode.com/svn/mavenrepo),
maven-int.internal (http://maven-int.jiveland.com/archiva/repository/internal),
sonatype-releases (https://oss.sonatype.org/content/repositories/releases)
Original issue reported on code.google.com by [email protected]
on 3 Feb 2012 at 9:01
[deleted issue]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.