SOAP API download limits?

Tuesday, April 2, 2013
Avatar
We are using the Spira SOAP API to download and reupload a large number of tests.  This was working fine until the number of requirements exceeded 1,337.  Once it crossed that threshold, we start getting the following exception.  Is there a built-in limit to the number of requirements we can download at once?  (We are using Apache Axis on the client.)  


Exception in thread "main" java.net.SocketException: Connection reset
at com.transcendsys.tools.ant.spira.SpiraXlsDownloader.main(SpiraXlsDownloader.java:231)
Caused by: java.net.SocketException: Connection reset
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.inflectra.www.SpiraTest.Services.v3_0.BasicHttpBinding_IImportExportStub.requirement_Retrieve(BasicHttpBinding_IImportExportStub.java:8819)
at com.transcendsys.tools.ant.spira.RequirementRepository.readRequirements(RequirementRepository.java:44)
at com.transcendsys.tools.ant.spira.RequirementRepository.<init>(RequirementRepository.java:34)
at com.transcendsys.tools.ant.spira.BaseSpiraXlsDownloadUpload.<init>(BaseSpiraXlsDownloadUpload.java:118)
at com.transcendsys.tools.ant.spira.SpiraXlsDownloader.<init>(SpiraXlsDownloader.java:24)
at com.transcendsys.tools.ant.spira.SpiraXlsDownloader.main(SpiraXlsDownloader.java:223)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:189)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:589)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
... 15 more

1 Replies
Wednesday, April 3, 2013
Avatar
re: gmerrill Tuesday, April 2, 2013

There isn't a limit to the number of tests or data, but there is a request/response timeout. If you're using v3.2 you can modify this in the Web.Config file, for v4.0 we will be releasing a patch update (patch 010) in the next couple of weeks that has the limit extended.

Regards

Adam

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Tuesday, April 2, 2013
  • Last Reply: Wednesday, May 29, 2019
  • Replies: 1
  • Views: 2502