Diff.java is outdated and will not work with the current version of Biomart. 
SoakTest.java is functional, but it was made as an internal testing tool, so 
it's not particularly user-friendly right now.

To use it, set the URL on line 25 (default: "http://localhost:8888/rest/";) to 
point to your server, with "/rest/" appended (e.g. 
"http://youserver:1234/rest/";).

To test a single mart, change the variable martNumber on line 29 and run the 
program. To find the number of the mart you're interested in, go to 
http://yourserver:1234/rest/xml/marts and count from the top (like I said, it's 
not very user-friendly!).

To test all marts, change the variable testCounter on line 42 to equal -1, and 
then run the program. In this scenario, the martNumber variable doesn't matter.

Status messages during testing will go to STDERR. At the end of testing a list 
of failed attributes and filters, along with their URLs, will be output to 
STDOUT. If there are no problems, "PASSED" will be output to STDOUT.

There is one further user-settable parameter on line 22. If the testValues 
variable is set to "true," then all values of singleSelect filters will be 
tested, rather than just the first. This can add a significant amount of time 
to testing, so by default it is set to false.

I hope that helps!

Jonathan

On 2011-02-22, at 3:14 AM, Jorge Zamora Berna wrote:

> Hi Arek,
> 
> Yes, actually I found the folders where I believe the scripts are located 
> (SoakTest.java, Diff.java). Could you please give us some help on how to use 
> them?
> 
> Thanks a lot,
> Jorge
> 
> /release-0_8-candidate_4/test/org/biomart/soak$ ls
> SoakTest.java
> /release-0_8-candidate_4/test/org/biomart/diff$ ls
> Diff.java
> 
> 
> 
> 
> 
> --- El mar, 22/2/11, Arek Kasprzyk <[email protected]> escribió:
> 
>> De: Arek Kasprzyk <[email protected]>
>> Asunto: Re: [BioMart Users] test scripts for biomart 0.8
>> Para: "Syed Haider" <[email protected]>
>> CC: "Jorge Zamora Berna" <[email protected]>, "[email protected]" 
>> <[email protected]>
>> Fecha: martes, 22 de febrero, 2011 07:18
>> I believe that there is a soak script
>> that the guys here use routinely  
>> to check for working filters and atts. Is that what you are
>> after?
>> 
>> a
>> 
>> On 2011-02-22, at 5:36, "Syed Haider" <[email protected]>
>> wrote:
>> 
>>> Hi Jorge,
>>> 
>>> With rc4, unfortunately there are'nt any yet. With
>> rc6, we should be  
>>> add
>>> these scripts
>>> 
>>> Best,
>>> Syed
>>> 
>>> On 21/02/2011 19:10, Jorge Zamora Berna wrote:
>>>> Hi,
>>>> 
>>>> are the any scripts to test marts built with 0.8?
>> I mean scripts  
>>>> that automatically query the mart and report the
>> queries that failed.
>>>> 
>>>> Thanks,
>>>> Jorge
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> [email protected]
>>>> https://lists.biomart.org/mailman/listinfo/users
>>> _______________________________________________
>>> Users mailing list
>>> [email protected]
>>> https://lists.biomart.org/mailman/listinfo/users
>> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.biomart.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users

Reply via email to