Hi Rupert,

If you see the output you will see that it says::

13:43:20,346  INFO MultiThreadedTest:198 - Enhancement engines checked
for '/enhancer?executionmetadata=true', all present

that is it is executing the default enhancer chain and not the explicit
chain that I request. In my case I have defines a new "List Chain", which I
want to call but each time the default chain got executed (I am getting the
similar results that you are getting) and not the chain which I explicitly
mentioned though the stanbol.it.multithreadtest.chain parameter.

How to resolve this?

Regards,
Manish




On Wed, May 8, 2013 at 5:31 PM, Rupert Westenthaler <
[email protected]> wrote:

> Hi Manish,
>
> I tried
>
>     mvn -o test -Dtest=MultiThreadedTest
> -Dstanbol.it.multithreadtest.requests=10000
> -Dstanbol.it.multithreadtest.threads=20
> -Dstanbol.it.multithreadtest.chain=freebase-prop-noun
> -Dtest.server.url=http://localhost:8080
>
> resulting in the log
>
> 13:43:19,874  INFO StanbolTestBase:67 - test.server.url is set: not
> starting server jar (http://localhost:8080)
> 13:43:19,908  INFO StanbolTestBase:100 - Will wait up to 180 seconds
> for server to become ready
> 13:43:20,299  INFO StanbolTestBase:172 - Got expected content for all
> configured requests, server is ready
> 13:43:20,346  INFO MultiThreadedTest:198 - Enhancement engines checked
> for '/enhancer?executionmetadata=true', all present
> 13:43:20,361  INFO MultiThreadedTest:164 - Read Testdata from
> '10k_long_abstracts_en.nt.bz2'
> 13:43:20,362  INFO MultiThreadedTest:185 -  ... init via Classpath
> 13:43:20,362  INFO MultiThreadedTest:189 -   - InputStream:
> BufferedInputStream
> 13:43:20,482  INFO MultiThreadedTest:240 -   - Media-Type: text/rdf+nt
> 13:43:22,421  INFO MultiThreadedTest:353 - Start Multi Thread testing
> of max. 10000 requests using 20 threads on Endpoint
> /enhancer/chain/freebase-proper-noun?executionmetadata=true
> 13:43:22,426  INFO MultiThreadedTest:287 - Iterate over values of
> property <http://dbpedia.org/ontology/abstract>
> 13:43:22,440  INFO MultiThreadedTest:368 -   ... sent 0 Requests (0
> finished, 1 pending, 0 failed
> 13:43:22,990  INFO MultiThreadedTest:368 -   ... sent 100 Requests (1
> finished, 100 pending, 0 failed
> [...]
>
> and also
>
>     mvn -o test -Dtest=MultiThreadedTest
> -Dstanbol.it.multithreadtest.requests=10000
> -Dstanbol.it.multithreadtest.threads=20
> -Dstanbol.it.multithreadtest.chain=language
> -Dtest.server.url=http://localhost:8080
>
> what gave me
>
> 13:48:02,404  INFO StanbolTestBase:67 - test.server.url is set: not
> starting server jar (http://localhost:8080)
> 13:48:02,438  INFO StanbolTestBase:100 - Will wait up to 180 seconds
> for server to become ready
> 13:48:02,824  INFO StanbolTestBase:172 - Got expected content for all
> configured requests, server is ready
> 13:48:02,863  INFO MultiThreadedTest:198 - Enhancement engines checked
> for '/enhancer?executionmetadata=true', all present
> 13:48:02,882  INFO MultiThreadedTest:164 - Read Testdata from
> '10k_long_abstracts_en.nt.bz2'
> 13:48:02,882  INFO MultiThreadedTest:185 -  ... init via Classpath
> 13:48:02,883  INFO MultiThreadedTest:189 -   - InputStream:
> BufferedInputStream
> 13:48:02,996  INFO MultiThreadedTest:240 -   - Media-Type: text/rdf+nt
> 13:48:04,880  INFO MultiThreadedTest:353 - Start Multi Thread testing
> of max. 10000 requests using 20 threads on Endpoint
> /enhancer/chain/language?executionmetadata=true
> 13:48:04,884  INFO MultiThreadedTest:287 - Iterate over values of
> property <http://dbpedia.org/ontology/abstract>
> 13:48:04,900  INFO MultiThreadedTest:368 -   ... sent 0 Requests (0
> finished, 1 pending, 0 failed
> 13:48:05,038  INFO MultiThreadedTest:368 -   ... sent 100 Requests (4
> finished, 97 pending, 0 failed
> 13:48:05,255  INFO MultiThreadedTest:368 -   ... sent 200 Requests
> (101 finished, 100 pending, 0 failed
>
> so it seams to work for me.
>
> What do you see in the logs?
>
> best
> Rupert
>
> On Wed, May 8, 2013 at 12:03 PM, Manish Aggarwal <[email protected]>
> wrote:
> > Hi,
> >
> >
> > We are trying to run stress tests available with Stanbol server on over
> > enhancement chain.But every time it is running the tests on default
> chain.
> >
> >
> >
> > mvn -o test -Dtest=MultiThreadedTest \
> >
> >     -Dstanbol.it.multithreadtest.data=
> > /stanbol/test/data/stanbol-test-data.txt.gz \
> >
> >     -Dstanbol.it.multithreadtest.requests=10000 \
> >
> >     -Dstanbol.it.multithreadtest.threads=20 \
> >
> >     -Dstanbol.it.multithreadtest.rdf-format=text/turtle \
> >
> >     -Dstanbol.it.multithreadtest.chain=mychain \
> >
> >     -Dtest.server.url=http://www.example.org:8080/stanbol
> >
> >
> >
> > It seems to me that it is completely ignoring the
> > stanbol.it.multithreadtest.chain parameter. Am I missing something?
> >
> >
> >
> > Thanks in advance.
> >
> >
> > regards,
> >
> > Manish
>
>
>
> --
> | Rupert Westenthaler             [email protected]
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Reply via email to