Test duration : 10.097s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2021-03-18 22:39:31 |
2021-03-18 22:39:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:31 | ------------------------------------ 2021-03-18 22:39:31 | [Mutex] waiting for: [configured:node:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:node-31332d82-b7ed-4e9b-8741-12c18c699410] 2021-03-18 22:39:31 | [Mutex] received everything. 2021-03-18 22:39:31 | [Mutex] isItemNotified: configured:node:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:node-31332d82-b7ed-4e9b-8741-12c18c699410 :: true 2021-03-18 22:39:32 | [Mutex] waiting for: [received:nodes:07e2ba42-211b-4a42-9ada-2928971b63e3:localhost] 2021-03-18 22:39:32 | [Mutex] received everything. 2021-03-18 22:39:32 | [Mutex] isItemNotified: received:node:07e2ba42-211b-4a42-9ada-2928971b63e3:localhost:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:Node 1d4b874e-9860-459a-a3f3-21a7d741c65b :: true 2021-03-18 22:39:32 | [Mutex] waiting for: [received:nodes:7f442c11-257f-40e0-9462-d8a049d86dec:localhost] 2021-03-18 22:39:32 | [Mutex] received everything. 2021-03-18 22:39:32 | [Mutex] isItemNotified: received:node:7f442c11-257f-40e0-9462-d8a049d86dec:localhost:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:Node 1d4b874e-9860-459a-a3f3-21a7d741c65b :: false |
createNodes | 1.466s |
2021-03-18 22:39:29 |
2021-03-18 22:39:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:29 | ------------------------------------ 2021-03-18 22:39:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1d4b874e-9860-459a-a3f3-21a7d741c65b</title></pubsub></data> 2021-03-18 22:39:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 22:39:30 | [Mutex] waiting for: [received:nodes:2a3dcbeb-e1d5-4f6a-9c75-7cb587d09d5a:localhost] 2021-03-18 22:39:30 | [Mutex] received everything. 2021-03-18 22:39:30 | [Mutex] isItemNotified: received:node:2a3dcbeb-e1d5-4f6a-9c75-7cb587d09d5a:localhost:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:Node 1d4b874e-9860-459a-a3f3-21a7d741c65b :: true |
createSubnodes | 1.031s |
2021-03-18 22:39:30 |
2021-03-18 22:39:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:30 | ------------------------------------ 2021-03-18 22:39:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-31332d82-b7ed-4e9b-8741-12c18c699410</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 31332d82-b7ed-4e9b-8741-12c18c699410</title></pubsub></data> 2021-03-18 22:39:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 22:39:31 | [Mutex] waiting for: [received:nodes:e5ec67ec-e51a-4944-8fce-e5240e7dad0d:localhost] 2021-03-18 22:39:31 | [Mutex] received everything. 2021-03-18 22:39:31 | [Mutex] isItemNotified: received:node:e5ec67ec-e51a-4944-8fce-e5240e7dad0d:localhost:node-31332d82-b7ed-4e9b-8741-12c18c699410:Node 31332d82-b7ed-4e9b-8741-12c18c699410 :: true |
deleteNodes | 1.021s |
2021-03-18 22:39:37 |
2021-03-18 22:39:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:37 | ------------------------------------ 2021-03-18 22:39:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-31332d82-b7ed-4e9b-8741-12c18c699410</node></data> 2021-03-18 22:39:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 22:39:38 | [Mutex] waiting for: [received:nodes:bf39ade4-10ea-4dde-aa89-9c26c433bde2:localhost] 2021-03-18 22:39:38 | [Mutex] received everything. 2021-03-18 22:39:38 | [Mutex] isItemNotified: received:node:bf39ade4-10ea-4dde-aa89-9c26c433bde2:localhost:node-31332d82-b7ed-4e9b-8741-12c18c699410:Node 31332d82-b7ed-4e9b-8741-12c18c699410 :: false |
deleteSubnodes | 1.117s |
2021-03-18 22:39:36 |
2021-03-18 22:39:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:36 | ------------------------------------ 2021-03-18 22:39:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node></data> 2021-03-18 22:39:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 22:39:37 | [Mutex] waiting for: [received:nodes:6b8d9846-f838-4752-813c-c45dfdd31572:localhost] 2021-03-18 22:39:37 | [Mutex] received everything. 2021-03-18 22:39:37 | [Mutex] isItemNotified: received:node:6b8d9846-f838-4752-813c-c45dfdd31572:localhost:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:Node 1d4b874e-9860-459a-a3f3-21a7d741c65b :: false 2021-03-18 22:39:37 | [Mutex] waiting for: [received:nodes:37b07884-c8a6-404c-9efd-ceb1074e3806:localhost] 2021-03-18 22:39:37 | [Mutex] received everything. 2021-03-18 22:39:37 | [Mutex] isItemNotified: received:node:37b07884-c8a6-404c-9efd-ceb1074e3806:localhost:node-1d4b874e-9860-459a-a3f3-21a7d741c65b:Node 1d4b874e-9860-459a-a3f3-21a7d741c65b :: false |
publishItemsToNodes | 0.233s |
2021-03-18 22:39:33 |
2021-03-18 22:39:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:33 | ------------------------------------ 2021-03-18 22:39:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node><item-id>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</item-id><entry><test>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</test></entry></data> 2021-03-18 22:39:34 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</value></item-id></result> 2021-03-18 22:39:34 | [Mutex] waiting for: [published:item:notifieditem-0b4d7f2c-19d4-4e8d-915f-a3664865c37a:admin@test-domain.com] 2021-03-18 22:39:34 | [Mutex] received everything. 2021-03-18 22:39:34 | [Mutex] isItemNotified: published:item:notifieditem-0b4d7f2c-19d4-4e8d-915f-a3664865c37a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2021-03-18 22:39:34 |
2021-03-18 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:34 | ------------------------------------ 2021-03-18 22:39:34 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node><item-id>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</item-id></data> 2021-03-18 22:39:34 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</value></item-id></result> 2021-03-18 22:39:34 | [Mutex] received everything. 2021-03-18 22:39:34 | [Mutex] isItemNotified: retracted:item:notifieditem-0b4d7f2c-19d4-4e8d-915f-a3664865c37a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.333s |
2021-03-18 22:39:34 |
2021-03-18 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:34 | ------------------------------------ 2021-03-18 22:39:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node><item-id>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</item-id></data> 2021-03-18 22:39:34 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</value></node><item-id label="Item ID" type="text-single"><value>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</value></item-id><item label="Item" type="text-multi"><value><item id="item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a"><test>item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a</test></item></value></item></result> 2021-03-18 22:39:34 | [Mutex] notify: [retrieved:item:item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a:payload-matches:true:localhost] 2021-03-18 22:39:34 | [Mutex] received everything. 2021-03-18 22:39:34 | [Mutex] isItemNotified: retrieved:item:item-0b4d7f2c-19d4-4e8d-915f-a3664865c37a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-18 22:39:34 |
2021-03-18 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:34 | ------------------------------------ 2021-03-18 22:39:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-18 22:39:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</value><value>test</value><value>node-31332d82-b7ed-4e9b-8741-12c18c699410</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-03-18 22:39:34 |
2021-03-18 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:34 | ------------------------------------ 2021-03-18 22:39:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1d4b874e-9860-459a-a3f3-21a7d741c65b)</node-pattern></data> 2021-03-18 22:39:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.164s |
2021-03-18 22:39:32 |
2021-03-18 22:39:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:32 | ------------------------------------ 2021-03-18 22:39:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-18 22:39:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.207s |
2021-03-18 22:39:34 |
2021-03-18 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 22:39:34 | ------------------------------------ 2021-03-18 22:39:34 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1d4b874e-9860-459a-a3f3-21a7d741c65b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-18 22:39:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |