Test duration : 10.722s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.142s |
2021-01-21 21:30:50 |
2021-01-21 21:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:50 | ------------------------------------ 2021-01-21 21:30:50 | [Mutex] waiting for: [configured:node:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:node-7d8e829e-4366-4a86-b1e5-969f68179fbe] 2021-01-21 21:30:50 | [Mutex] received everything. 2021-01-21 21:30:50 | [Mutex] isItemNotified: configured:node:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:node-7d8e829e-4366-4a86-b1e5-969f68179fbe :: true 2021-01-21 21:30:51 | [Mutex] waiting for: [received:nodes:0121dccd-c7a1-4d75-8b6c-37dfe61ad561:localhost] 2021-01-21 21:30:51 | [Mutex] waiting for: [received:nodes:0121dccd-c7a1-4d75-8b6c-37dfe61ad561:localhost] 2021-01-21 21:30:51 | [Mutex] received everything. 2021-01-21 21:30:51 | [Mutex] isItemNotified: received:node:0121dccd-c7a1-4d75-8b6c-37dfe61ad561:localhost:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:Node c033073e-465d-4ebf-b7d2-fb822ca838b6 :: true 2021-01-21 21:30:51 | [Mutex] waiting for: [received:nodes:3a865255-b401-4aea-a1e8-59be5236b4ed:localhost] 2021-01-21 21:30:51 | [Mutex] received everything. 2021-01-21 21:30:51 | [Mutex] isItemNotified: received:node:3a865255-b401-4aea-a1e8-59be5236b4ed:localhost:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:Node c033073e-465d-4ebf-b7d2-fb822ca838b6 :: false |
createNodes | 1.743s |
2021-01-21 21:30:47 |
2021-01-21 21:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:47 | ------------------------------------ 2021-01-21 21:30:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c033073e-465d-4ebf-b7d2-fb822ca838b6</title></pubsub></data> 2021-01-21 21:30:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:49 | [Mutex] waiting for: [received:nodes:03cf85c8-e301-413a-800f-de18dc919fe8:localhost] 2021-01-21 21:30:49 | [Mutex] received everything. 2021-01-21 21:30:49 | [Mutex] isItemNotified: received:node:03cf85c8-e301-413a-800f-de18dc919fe8:localhost:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:Node c033073e-465d-4ebf-b7d2-fb822ca838b6 :: true |
createSubnodes | 1.064s |
2021-01-21 21:30:49 |
2021-01-21 21:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:49 | ------------------------------------ 2021-01-21 21:30:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7d8e829e-4366-4a86-b1e5-969f68179fbe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7d8e829e-4366-4a86-b1e5-969f68179fbe</title></pubsub></data> 2021-01-21 21:30:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:50 | [Mutex] waiting for: [received:nodes:043ec70d-871d-4b14-9d10-6378ecbf58a1:localhost] 2021-01-21 21:30:50 | [Mutex] received everything. 2021-01-21 21:30:50 | [Mutex] isItemNotified: received:node:043ec70d-871d-4b14-9d10-6378ecbf58a1:localhost:node-7d8e829e-4366-4a86-b1e5-969f68179fbe:Node 7d8e829e-4366-4a86-b1e5-969f68179fbe :: true |
deleteNodes | 1.027s |
2021-01-21 21:30:55 |
2021-01-21 21:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:55 | ------------------------------------ 2021-01-21 21:30:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7d8e829e-4366-4a86-b1e5-969f68179fbe</node></data> 2021-01-21 21:30:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:56 | [Mutex] waiting for: [received:nodes:f4fdbafe-27f6-4c56-8cc3-bbb69d1443ec:localhost] 2021-01-21 21:30:56 | [Mutex] waiting for: [received:nodes:f4fdbafe-27f6-4c56-8cc3-bbb69d1443ec:localhost] 2021-01-21 21:30:56 | [Mutex] received everything. 2021-01-21 21:30:56 | [Mutex] isItemNotified: received:node:f4fdbafe-27f6-4c56-8cc3-bbb69d1443ec:localhost:node-7d8e829e-4366-4a86-b1e5-969f68179fbe:Node 7d8e829e-4366-4a86-b1e5-969f68179fbe :: false |
deleteSubnodes | 1.153s |
2021-01-21 21:30:54 |
2021-01-21 21:30:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:54 | ------------------------------------ 2021-01-21 21:30:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node></data> 2021-01-21 21:30:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:55 | [Mutex] waiting for: [received:nodes:5721f3f2-168e-47cf-afe5-632a9f9caa04:localhost] 2021-01-21 21:30:55 | [Mutex] received everything. 2021-01-21 21:30:55 | [Mutex] isItemNotified: received:node:5721f3f2-168e-47cf-afe5-632a9f9caa04:localhost:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:Node c033073e-465d-4ebf-b7d2-fb822ca838b6 :: false 2021-01-21 21:30:55 | [Mutex] waiting for: [received:nodes:7dea2075-bf1c-49dc-8ba3-562e73e1272e:localhost] 2021-01-21 21:30:55 | [Mutex] received everything. 2021-01-21 21:30:55 | [Mutex] isItemNotified: received:node:7dea2075-bf1c-49dc-8ba3-562e73e1272e:localhost:node-c033073e-465d-4ebf-b7d2-fb822ca838b6:Node c033073e-465d-4ebf-b7d2-fb822ca838b6 :: false |
publishItemsToNodes | 0.315s |
2021-01-21 21:30:52 |
2021-01-21 21:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:52 | ------------------------------------ 2021-01-21 21:30:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node><item-id>item-fb313526-ebfa-4915-91d2-9ced6f539957</item-id><entry><test>item-fb313526-ebfa-4915-91d2-9ced6f539957</test></entry></data> 2021-01-21 21:30:52 | 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-fb313526-ebfa-4915-91d2-9ced6f539957</value></item-id></result> 2021-01-21 21:30:52 | [Mutex] waiting for: [published:item:notifieditem-fb313526-ebfa-4915-91d2-9ced6f539957:admin@test-domain.com] 2021-01-21 21:30:52 | [Mutex] received everything. 2021-01-21 21:30:52 | [Mutex] isItemNotified: published:item:notifieditem-fb313526-ebfa-4915-91d2-9ced6f539957:admin@test-domain.com :: true |
retractItemsFromNodes | 0.323s |
2021-01-21 21:30:53 |
2021-01-21 21:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:53 | ------------------------------------ 2021-01-21 21:30:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node><item-id>item-fb313526-ebfa-4915-91d2-9ced6f539957</item-id></data> 2021-01-21 21:30:53 | 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-fb313526-ebfa-4915-91d2-9ced6f539957</value></item-id></result> 2021-01-21 21:30:53 | [Mutex] waiting for: [retracted:item:notifieditem-fb313526-ebfa-4915-91d2-9ced6f539957:admin@test-domain.com] 2021-01-21 21:30:53 | [Mutex] received everything. 2021-01-21 21:30:53 | [Mutex] isItemNotified: retracted:item:notifieditem-fb313526-ebfa-4915-91d2-9ced6f539957:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.233s |
2021-01-21 21:30:52 |
2021-01-21 21:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:52 | ------------------------------------ 2021-01-21 21:30:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node><item-id>item-fb313526-ebfa-4915-91d2-9ced6f539957</item-id></data> 2021-01-21 21:30:52 | 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-c033073e-465d-4ebf-b7d2-fb822ca838b6</value></node><item-id label="Item ID" type="text-single"><value>item-fb313526-ebfa-4915-91d2-9ced6f539957</value></item-id><item label="Item" type="text-multi"><value><item id="item-fb313526-ebfa-4915-91d2-9ced6f539957"><test>item-fb313526-ebfa-4915-91d2-9ced6f539957</test></item></value></item></result> 2021-01-21 21:30:52 | [Mutex] notify: [retrieved:item:item-fb313526-ebfa-4915-91d2-9ced6f539957:payload-matches:true:localhost] 2021-01-21 21:30:52 | [Mutex] received everything. 2021-01-21 21:30:52 | [Mutex] isItemNotified: retrieved:item:item-fb313526-ebfa-4915-91d2-9ced6f539957:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-21 21:30:52 |
2021-01-21 21:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:52 | ------------------------------------ 2021-01-21 21:30:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-21 21:30:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</value><value>node-7d8e829e-4366-4a86-b1e5-969f68179fbe</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-01-21 21:30:53 |
2021-01-21 21:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:53 | ------------------------------------ 2021-01-21 21:30:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c033073e-465d-4ebf-b7d2-fb822ca838b6)</node-pattern></data> 2021-01-21 21:30:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.139s |
2021-01-21 21:30:51 |
2021-01-21 21:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:51 | ------------------------------------ 2021-01-21 21:30:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-21 21:30:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2021-01-21 21:30:53 |
2021-01-21 21:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:53 | ------------------------------------ 2021-01-21 21:30:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c033073e-465d-4ebf-b7d2-fb822ca838b6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-21 21:30:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |