Test duration : 10.149s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2021-01-04 21:29:58 |
2021-01-04 21:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:29:58 | ------------------------------------ 2021-01-04 21:29:58 | [Mutex] waiting for: [configured:node:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f] 2021-01-04 21:29:58 | [Mutex] received everything. 2021-01-04 21:29:58 | [Mutex] isItemNotified: configured:node:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f :: true 2021-01-04 21:29:59 | [Mutex] waiting for: [received:nodes:3181e406-24e8-483b-83e7-1ee7dc65b242:localhost] 2021-01-04 21:29:59 | [Mutex] received everything. 2021-01-04 21:29:59 | [Mutex] isItemNotified: received:node:3181e406-24e8-483b-83e7-1ee7dc65b242:localhost:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:Node 48b9365c-2b95-40e5-baa1-8330f8e05e2b :: true 2021-01-04 21:29:59 | [Mutex] waiting for: [received:nodes:6d9354cb-755d-47bc-b53c-975813b3ae22:localhost] 2021-01-04 21:29:59 | [Mutex] received everything. 2021-01-04 21:29:59 | [Mutex] isItemNotified: received:node:6d9354cb-755d-47bc-b53c-975813b3ae22:localhost:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:Node 48b9365c-2b95-40e5-baa1-8330f8e05e2b :: false |
createNodes | 1.390s |
2021-01-04 21:29:55 |
2021-01-04 21:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:29:55 | ------------------------------------ 2021-01-04 21:29:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 48b9365c-2b95-40e5-baa1-8330f8e05e2b</title></pubsub></data> 2021-01-04 21:29:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-04 21:29:57 | [Mutex] waiting for: [received:nodes:acd9d7f3-be02-4d4d-83ad-e626414c7792:localhost] 2021-01-04 21:29:57 | [Mutex] received everything. 2021-01-04 21:29:57 | [Mutex] isItemNotified: received:node:acd9d7f3-be02-4d4d-83ad-e626414c7792:localhost:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:Node 48b9365c-2b95-40e5-baa1-8330f8e05e2b :: true |
createSubnodes | 1.024s |
2021-01-04 21:29:57 |
2021-01-04 21:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:29:57 | ------------------------------------ 2021-01-04 21:29:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node adca1362-8a71-48c4-a62b-4e6c28a9ae2f</title></pubsub></data> 2021-01-04 21:29:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-04 21:29:58 | [Mutex] waiting for: [received:nodes:7eeea9fa-df0a-4e71-9aee-a7fb79ea16f0:localhost] 2021-01-04 21:29:58 | [Mutex] received everything. 2021-01-04 21:29:58 | [Mutex] isItemNotified: received:node:7eeea9fa-df0a-4e71-9aee-a7fb79ea16f0:localhost:node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f:Node adca1362-8a71-48c4-a62b-4e6c28a9ae2f :: true |
deleteNodes | 1.018s |
2021-01-04 21:30:03 |
2021-01-04 21:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:03 | ------------------------------------ 2021-01-04 21:30:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f</node></data> 2021-01-04 21:30:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-04 21:30:04 | [Mutex] waiting for: [received:nodes:f3b7ff30-a48a-4327-af86-71ea8faca7c5:localhost] 2021-01-04 21:30:04 | [Mutex] received everything. 2021-01-04 21:30:04 | [Mutex] isItemNotified: received:node:f3b7ff30-a48a-4327-af86-71ea8faca7c5:localhost:node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f:Node adca1362-8a71-48c4-a62b-4e6c28a9ae2f :: false |
deleteSubnodes | 1.126s |
2021-01-04 21:30:02 |
2021-01-04 21:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:02 | ------------------------------------ 2021-01-04 21:30:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node></data> 2021-01-04 21:30:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-04 21:30:03 | [Mutex] waiting for: [received:nodes:8711ac92-aff2-432e-95d5-df40c256b14f:localhost] 2021-01-04 21:30:03 | [Mutex] waiting for: [received:nodes:8711ac92-aff2-432e-95d5-df40c256b14f:localhost] 2021-01-04 21:30:03 | [Mutex] received everything. 2021-01-04 21:30:03 | [Mutex] isItemNotified: received:node:8711ac92-aff2-432e-95d5-df40c256b14f:localhost:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:Node 48b9365c-2b95-40e5-baa1-8330f8e05e2b :: false 2021-01-04 21:30:03 | [Mutex] waiting for: [received:nodes:d1ec9b23-5309-48c1-99ac-54c5423251a2:localhost] 2021-01-04 21:30:03 | [Mutex] received everything. 2021-01-04 21:30:03 | [Mutex] isItemNotified: received:node:d1ec9b23-5309-48c1-99ac-54c5423251a2:localhost:node-48b9365c-2b95-40e5-baa1-8330f8e05e2b:Node 48b9365c-2b95-40e5-baa1-8330f8e05e2b :: false |
publishItemsToNodes | 0.182s |
2021-01-04 21:30:00 |
2021-01-04 21:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:00 | ------------------------------------ 2021-01-04 21:30:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node><item-id>item-019e69f5-3dba-47c6-8f7a-ca10945e2a01</item-id><entry><test>item-019e69f5-3dba-47c6-8f7a-ca10945e2a01</test></entry></data> 2021-01-04 21:30:00 | 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-019e69f5-3dba-47c6-8f7a-ca10945e2a01</value></item-id></result> 2021-01-04 21:30:00 | [Mutex] waiting for: [published:item:notifieditem-019e69f5-3dba-47c6-8f7a-ca10945e2a01:admin@test-domain.com] 2021-01-04 21:30:00 | [Mutex] received everything. 2021-01-04 21:30:00 | [Mutex] isItemNotified: published:item:notifieditem-019e69f5-3dba-47c6-8f7a-ca10945e2a01:admin@test-domain.com :: true |
retractItemsFromNodes | 0.340s |
2021-01-04 21:30:01 |
2021-01-04 21:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:01 | ------------------------------------ 2021-01-04 21:30:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node><item-id>item-019e69f5-3dba-47c6-8f7a-ca10945e2a01</item-id></data> 2021-01-04 21:30:01 | 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-019e69f5-3dba-47c6-8f7a-ca10945e2a01</value></item-id></result> 2021-01-04 21:30:01 | [Mutex] waiting for: [retracted:item:notifieditem-019e69f5-3dba-47c6-8f7a-ca10945e2a01:admin@test-domain.com] 2021-01-04 21:30:01 | [Mutex] received everything. 2021-01-04 21:30:01 | [Mutex] isItemNotified: retracted:item:notifieditem-019e69f5-3dba-47c6-8f7a-ca10945e2a01:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.368s |
2021-01-04 21:30:00 |
2021-01-04 21:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:00 | ------------------------------------ 2021-01-04 21:30:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node><item-id>item-019e69f5-3dba-47c6-8f7a-ca10945e2a01</item-id></data> 2021-01-04 21:30:00 | 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-48b9365c-2b95-40e5-baa1-8330f8e05e2b</value></node><item-id type="text-single" label="Item ID"><value>item-019e69f5-3dba-47c6-8f7a-ca10945e2a01</value></item-id><item type="text-multi" label="Item"><value><item id="item-019e69f5-3dba-47c6-8f7a-ca10945e2a01"><test>item-019e69f5-3dba-47c6-8f7a-ca10945e2a01</test></item></value></item></result> 2021-01-04 21:30:00 | [Mutex] notify: [retrieved:item:item-019e69f5-3dba-47c6-8f7a-ca10945e2a01:payload-matches:true:localhost] 2021-01-04 21:30:00 | [Mutex] received everything. 2021-01-04 21:30:00 | [Mutex] isItemNotified: retrieved:item:item-019e69f5-3dba-47c6-8f7a-ca10945e2a01:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-04 21:30:00 |
2021-01-04 21:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:00 | ------------------------------------ 2021-01-04 21:30:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-04 21:30:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</value><value>test</value><value>node-adca1362-8a71-48c4-a62b-4e6c28a9ae2f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-01-04 21:30:00 |
2021-01-04 21:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:00 | ------------------------------------ 2021-01-04 21:30:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-48b9365c-2b95-40e5-baa1-8330f8e05e2b)</node-pattern></data> 2021-01-04 21:30:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.129s |
2021-01-04 21:29:59 |
2021-01-04 21:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:29:59 | ------------------------------------ 2021-01-04 21:29:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-04 21:29:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.440s |
2021-01-04 21:30:01 |
2021-01-04 21:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-04 21:30:01 | ------------------------------------ 2021-01-04 21:30:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-48b9365c-2b95-40e5-baa1-8330f8e05e2b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-04 21:30:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |