Test duration: 10.169s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2020-06-19 00:32:07 |
2020-06-19 00:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:07 | ------------------------------------ 2020-06-19 00:32:07 | [Mutex] waiting for: [configured:node:node-dba9aec4-524f-482d-ab91-55394a75a833:node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0] 2020-06-19 00:32:07 | [Mutex] received everything. 2020-06-19 00:32:07 | [Mutex] isItemNotified: configured:node:node-dba9aec4-524f-482d-ab91-55394a75a833:node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0 :: true 2020-06-19 00:32:08 | [Mutex] waiting for: [received:nodes:64ddabec-456e-4cef-8f78-0dcca64ded43:localhost] 2020-06-19 00:32:08 | [Mutex] received everything. 2020-06-19 00:32:08 | [Mutex] isItemNotified: received:node:64ddabec-456e-4cef-8f78-0dcca64ded43:localhost:node-dba9aec4-524f-482d-ab91-55394a75a833:Node dba9aec4-524f-482d-ab91-55394a75a833 :: true 2020-06-19 00:32:08 | [Mutex] waiting for: [received:nodes:9a25bd8a-b6e2-4a80-b0e1-cbb26a7f2a7a:localhost] 2020-06-19 00:32:08 | [Mutex] received everything. 2020-06-19 00:32:08 | [Mutex] isItemNotified: received:node:9a25bd8a-b6e2-4a80-b0e1-cbb26a7f2a7a:localhost:node-dba9aec4-524f-482d-ab91-55394a75a833:Node dba9aec4-524f-482d-ab91-55394a75a833 :: false |
createNodes | 1.560s |
2020-06-19 00:32:04 |
2020-06-19 00:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:04 | ------------------------------------ 2020-06-19 00:32:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dba9aec4-524f-482d-ab91-55394a75a833</title></pubsub></data> 2020-06-19 00:32:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-19 00:32:06 | [Mutex] waiting for: [received:nodes:911153b4-08e5-4f25-b0bc-fee00083b257:localhost] 2020-06-19 00:32:06 | [Mutex] received everything. 2020-06-19 00:32:06 | [Mutex] isItemNotified: received:node:911153b4-08e5-4f25-b0bc-fee00083b257:localhost:node-dba9aec4-524f-482d-ab91-55394a75a833:Node dba9aec4-524f-482d-ab91-55394a75a833 :: true |
createSubnodes | 1.023s |
2020-06-19 00:32:06 |
2020-06-19 00:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:06 | ------------------------------------ 2020-06-19 00:32:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0</title></pubsub></data> 2020-06-19 00:32:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-19 00:32:07 | [Mutex] waiting for: [received:nodes:7b8d2a48-d71d-4143-995b-b2139e9531e4:localhost] 2020-06-19 00:32:07 | [Mutex] received everything. 2020-06-19 00:32:07 | [Mutex] isItemNotified: received:node:7b8d2a48-d71d-4143-995b-b2139e9531e4:localhost:node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0:Node 96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0 :: true |
deleteNodes | 1.016s |
2020-06-19 00:32:12 |
2020-06-19 00:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:12 | ------------------------------------ 2020-06-19 00:32:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0</node></data> 2020-06-19 00:32:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-19 00:32:13 | [Mutex] waiting for: [received:nodes:51ef4441-bb12-4cd5-a679-414c7946c6eb:localhost] 2020-06-19 00:32:13 | [Mutex] waiting for: [received:nodes:51ef4441-bb12-4cd5-a679-414c7946c6eb:localhost] 2020-06-19 00:32:13 | [Mutex] received everything. 2020-06-19 00:32:13 | [Mutex] isItemNotified: received:node:51ef4441-bb12-4cd5-a679-414c7946c6eb:localhost:node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0:Node 96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0 :: false |
deleteSubnodes | 1.149s |
2020-06-19 00:32:11 |
2020-06-19 00:32:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:11 | ------------------------------------ 2020-06-19 00:32:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node></data> 2020-06-19 00:32:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-19 00:32:12 | [Mutex] waiting for: [received:nodes:c0933787-ce99-4406-9525-0c7e431fd8ed:localhost] 2020-06-19 00:32:12 | [Mutex] received everything. 2020-06-19 00:32:12 | [Mutex] isItemNotified: received:node:c0933787-ce99-4406-9525-0c7e431fd8ed:localhost:node-dba9aec4-524f-482d-ab91-55394a75a833:Node dba9aec4-524f-482d-ab91-55394a75a833 :: false 2020-06-19 00:32:12 | [Mutex] waiting for: [received:nodes:8b178f8f-4963-4589-9dfe-554d3a563764:localhost] 2020-06-19 00:32:12 | [Mutex] received everything. 2020-06-19 00:32:12 | [Mutex] isItemNotified: received:node:8b178f8f-4963-4589-9dfe-554d3a563764:localhost:node-dba9aec4-524f-482d-ab91-55394a75a833:Node dba9aec4-524f-482d-ab91-55394a75a833 :: false |
publishItemsToNodes | 0.286s |
2020-06-19 00:32:09 |
2020-06-19 00:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:09 | ------------------------------------ 2020-06-19 00:32:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node><item-id>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</item-id><entry><test>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</test></entry></data> 2020-06-19 00:32:09 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</value></item-id></result> 2020-06-19 00:32:09 | [Mutex] waiting for: [published:item:notifieditem-4a139f0a-b93d-4bb1-8731-db1f411fb4b7:admin@localhost] 2020-06-19 00:32:09 | [Mutex] received everything. 2020-06-19 00:32:09 | [Mutex] isItemNotified: published:item:notifieditem-4a139f0a-b93d-4bb1-8731-db1f411fb4b7:admin@localhost :: true |
retractItemsFromNodes | 0.296s |
2020-06-19 00:32:09 |
2020-06-19 00:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:09 | ------------------------------------ 2020-06-19 00:32:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node><item-id>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</item-id></data> 2020-06-19 00:32:10 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</value></item-id></result> 2020-06-19 00:32:10 | [Mutex] received everything. 2020-06-19 00:32:10 | [Mutex] isItemNotified: retracted:item:notifieditem-4a139f0a-b93d-4bb1-8731-db1f411fb4b7:admin@localhost :: true |
retrieveItemsFromNodes | 0.122s |
2020-06-19 00:32:09 |
2020-06-19 00:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:09 | ------------------------------------ 2020-06-19 00:32:09 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node><item-id>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</item-id></data> 2020-06-19 00:32:09 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-dba9aec4-524f-482d-ab91-55394a75a833</value></node><item-id type="text-single" label="Item ID"><value>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</value></item-id><item type="text-multi" label="Item"><value><item id="item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7"><test>item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7</test></item></value></item></result> 2020-06-19 00:32:09 | [Mutex] notify: [retrieved:item:item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7:payload-matches:true:localhost] 2020-06-19 00:32:09 | [Mutex] received everything. 2020-06-19 00:32:09 | [Mutex] isItemNotified: retrieved:item:item-4a139f0a-b93d-4bb1-8731-db1f411fb4b7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.214s |
2020-06-19 00:32:09 |
2020-06-19 00:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:09 | ------------------------------------ 2020-06-19 00:32:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-19 00:32:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-dba9aec4-524f-482d-ab91-55394a75a833</value><value>node-96f45d7f-42fc-4a0d-be16-5bfdbf4e36f0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-06-19 00:32:09 |
2020-06-19 00:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:09 | ------------------------------------ 2020-06-19 00:32:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-dba9aec4-524f-482d-ab91-55394a75a833)</node-pattern></data> 2020-06-19 00:32:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.127s |
2020-06-19 00:32:08 |
2020-06-19 00:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:08 | ------------------------------------ 2020-06-19 00:32:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node><jids><value>admin@localhost</value></jids></data> 2020-06-19 00:32:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.299s |
2020-06-19 00:32:10 |
2020-06-19 00:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-19 00:32:10 | ------------------------------------ 2020-06-19 00:32:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-dba9aec4-524f-482d-ab91-55394a75a833</node><jids><value>admin@localhost</value></jids></data> 2020-06-19 00:32:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |