Test duration : 9.976s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2020-09-19 22:44:39 |
2020-09-19 22:44:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:39 | ------------------------------------ 2020-09-19 22:44:39 | [Mutex] waiting for: [configured:node:node-489f4d21-6072-4857-9e92-b6846218d724:node-feba9307-eb1a-4a75-a738-ca589d0a7ff8] 2020-09-19 22:44:39 | [Mutex] received everything. 2020-09-19 22:44:39 | [Mutex] isItemNotified: configured:node:node-489f4d21-6072-4857-9e92-b6846218d724:node-feba9307-eb1a-4a75-a738-ca589d0a7ff8 :: true 2020-09-19 22:44:40 | [Mutex] waiting for: [received:nodes:b19eb105-e1af-439d-bc91-aeb9dec8dcf6:localhost] 2020-09-19 22:44:40 | [Mutex] received everything. 2020-09-19 22:44:40 | [Mutex] isItemNotified: received:node:b19eb105-e1af-439d-bc91-aeb9dec8dcf6:localhost:node-489f4d21-6072-4857-9e92-b6846218d724:Node 489f4d21-6072-4857-9e92-b6846218d724 :: true 2020-09-19 22:44:40 | [Mutex] waiting for: [received:nodes:f47f34c3-2a2b-4069-8dcb-b21469f616ed:localhost] 2020-09-19 22:44:40 | [Mutex] received everything. 2020-09-19 22:44:40 | [Mutex] isItemNotified: received:node:f47f34c3-2a2b-4069-8dcb-b21469f616ed:localhost:node-489f4d21-6072-4857-9e92-b6846218d724:Node 489f4d21-6072-4857-9e92-b6846218d724 :: false |
createNodes | 1.448s |
2020-09-19 22:44:37 |
2020-09-19 22:44:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:37 | ------------------------------------ 2020-09-19 22:44:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 489f4d21-6072-4857-9e92-b6846218d724</title></pubsub></data> 2020-09-19 22:44:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 22:44:38 | [Mutex] waiting for: [received:nodes:869d3444-3738-490c-9ed3-95c047a6c6e0:localhost] 2020-09-19 22:44:38 | [Mutex] received everything. 2020-09-19 22:44:38 | [Mutex] isItemNotified: received:node:869d3444-3738-490c-9ed3-95c047a6c6e0:localhost:node-489f4d21-6072-4857-9e92-b6846218d724:Node 489f4d21-6072-4857-9e92-b6846218d724 :: true |
createSubnodes | 1.020s |
2020-09-19 22:44:38 |
2020-09-19 22:44:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:38 | ------------------------------------ 2020-09-19 22:44:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-feba9307-eb1a-4a75-a738-ca589d0a7ff8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node feba9307-eb1a-4a75-a738-ca589d0a7ff8</title></pubsub></data> 2020-09-19 22:44:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 22:44:39 | [Mutex] waiting for: [received:nodes:fa03eb02-7800-48d4-982a-7c6bcf8c1aa6:localhost] 2020-09-19 22:44:39 | [Mutex] received everything. 2020-09-19 22:44:39 | [Mutex] isItemNotified: received:node:fa03eb02-7800-48d4-982a-7c6bcf8c1aa6:localhost:node-feba9307-eb1a-4a75-a738-ca589d0a7ff8:Node feba9307-eb1a-4a75-a738-ca589d0a7ff8 :: true |
deleteNodes | 1.016s |
2020-09-19 22:44:45 |
2020-09-19 22:44:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:45 | ------------------------------------ 2020-09-19 22:44:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-feba9307-eb1a-4a75-a738-ca589d0a7ff8</node></data> 2020-09-19 22:44:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 22:44:46 | [Mutex] waiting for: [received:nodes:e7c1f97b-ae1d-422d-a036-c37aea5fe029:localhost] 2020-09-19 22:44:46 | [Mutex] received everything. 2020-09-19 22:44:46 | [Mutex] isItemNotified: received:node:e7c1f97b-ae1d-422d-a036-c37aea5fe029:localhost:node-feba9307-eb1a-4a75-a738-ca589d0a7ff8:Node feba9307-eb1a-4a75-a738-ca589d0a7ff8 :: false |
deleteSubnodes | 1.118s |
2020-09-19 22:44:43 |
2020-09-19 22:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:43 | ------------------------------------ 2020-09-19 22:44:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node></data> 2020-09-19 22:44:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-19 22:44:44 | [Mutex] waiting for: [received:nodes:364ee0da-dcd2-4e78-8474-ac0cad3188ef:localhost] 2020-09-19 22:44:44 | [Mutex] received everything. 2020-09-19 22:44:44 | [Mutex] isItemNotified: received:node:364ee0da-dcd2-4e78-8474-ac0cad3188ef:localhost:node-489f4d21-6072-4857-9e92-b6846218d724:Node 489f4d21-6072-4857-9e92-b6846218d724 :: false 2020-09-19 22:44:44 | [Mutex] waiting for: [received:nodes:2bfc8ceb-6125-4a5d-b875-16f671d7c7df:localhost] 2020-09-19 22:44:44 | [Mutex] received everything. 2020-09-19 22:44:44 | [Mutex] isItemNotified: received:node:2bfc8ceb-6125-4a5d-b875-16f671d7c7df:localhost:node-489f4d21-6072-4857-9e92-b6846218d724:Node 489f4d21-6072-4857-9e92-b6846218d724 :: false |
publishItemsToNodes | 0.231s |
2020-09-19 22:44:41 |
2020-09-19 22:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:41 | ------------------------------------ 2020-09-19 22:44:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node><item-id>item-c8893634-0b6d-4a29-a0fc-6671d8e960e3</item-id><entry><test>item-c8893634-0b6d-4a29-a0fc-6671d8e960e3</test></entry></data> 2020-09-19 22:44:41 | 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-c8893634-0b6d-4a29-a0fc-6671d8e960e3</value></item-id></result> 2020-09-19 22:44:41 | [Mutex] waiting for: [published:item:notifieditem-c8893634-0b6d-4a29-a0fc-6671d8e960e3:admin@test-domain.com] 2020-09-19 22:44:41 | [Mutex] received everything. 2020-09-19 22:44:41 | [Mutex] isItemNotified: published:item:notifieditem-c8893634-0b6d-4a29-a0fc-6671d8e960e3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.312s |
2020-09-19 22:44:42 |
2020-09-19 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:42 | ------------------------------------ 2020-09-19 22:44:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node><item-id>item-c8893634-0b6d-4a29-a0fc-6671d8e960e3</item-id></data> 2020-09-19 22:44:42 | 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-c8893634-0b6d-4a29-a0fc-6671d8e960e3</value></item-id></result> 2020-09-19 22:44:42 | [Mutex] received everything. 2020-09-19 22:44:42 | [Mutex] isItemNotified: retracted:item:notifieditem-c8893634-0b6d-4a29-a0fc-6671d8e960e3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.272s |
2020-09-19 22:44:41 |
2020-09-19 22:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:41 | ------------------------------------ 2020-09-19 22:44:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node><item-id>item-c8893634-0b6d-4a29-a0fc-6671d8e960e3</item-id></data> 2020-09-19 22:44:42 | 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-489f4d21-6072-4857-9e92-b6846218d724</value></node><item-id type="text-single" label="Item ID"><value>item-c8893634-0b6d-4a29-a0fc-6671d8e960e3</value></item-id><item type="text-multi" label="Item"><value><item id="item-c8893634-0b6d-4a29-a0fc-6671d8e960e3"><test>item-c8893634-0b6d-4a29-a0fc-6671d8e960e3</test></item></value></item></result> 2020-09-19 22:44:42 | [Mutex] notify: [retrieved:item:item-c8893634-0b6d-4a29-a0fc-6671d8e960e3:payload-matches:true:localhost] 2020-09-19 22:44:42 | [Mutex] received everything. 2020-09-19 22:44:42 | [Mutex] isItemNotified: retrieved:item:item-c8893634-0b6d-4a29-a0fc-6671d8e960e3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-09-19 22:44:42 |
2020-09-19 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:42 | ------------------------------------ 2020-09-19 22:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-19 22:44:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-489f4d21-6072-4857-9e92-b6846218d724</value><value>test</value><value>node-feba9307-eb1a-4a75-a738-ca589d0a7ff8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-19 22:44:42 |
2020-09-19 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:42 | ------------------------------------ 2020-09-19 22:44:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-489f4d21-6072-4857-9e92-b6846218d724)</node-pattern></data> 2020-09-19 22:44:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.086s |
2020-09-19 22:44:40 |
2020-09-19 22:44:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:40 | ------------------------------------ 2020-09-19 22:44:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-19 22:44:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.240s |
2020-09-19 22:44:42 |
2020-09-19 22:44:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-19 22:44:42 | ------------------------------------ 2020-09-19 22:44:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-489f4d21-6072-4857-9e92-b6846218d724</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-19 22:44:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |