Test duration : 10.105s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2021-05-09 22:41:12 |
2021-05-09 22:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:12 | ------------------------------------ 2021-05-09 22:41:12 | [Mutex] waiting for: [configured:node:node-0397af40-27c6-48ce-873f-7991c76ee6f6:node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331] 2021-05-09 22:41:12 | [Mutex] received everything. 2021-05-09 22:41:12 | [Mutex] isItemNotified: configured:node:node-0397af40-27c6-48ce-873f-7991c76ee6f6:node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331 :: true 2021-05-09 22:41:13 | [Mutex] waiting for: [received:nodes:25035a09-1de5-4d39-acc7-9b0b0d13076e:localhost] 2021-05-09 22:41:13 | [Mutex] received everything. 2021-05-09 22:41:13 | [Mutex] isItemNotified: received:node:25035a09-1de5-4d39-acc7-9b0b0d13076e:localhost:node-0397af40-27c6-48ce-873f-7991c76ee6f6:Node 0397af40-27c6-48ce-873f-7991c76ee6f6 :: true 2021-05-09 22:41:13 | [Mutex] waiting for: [received:nodes:bc91e29c-44ca-4e20-a5a0-1ec6f4442d07:localhost] 2021-05-09 22:41:13 | [Mutex] waiting for: [received:nodes:bc91e29c-44ca-4e20-a5a0-1ec6f4442d07:localhost] 2021-05-09 22:41:13 | [Mutex] waiting for: [received:nodes:bc91e29c-44ca-4e20-a5a0-1ec6f4442d07:localhost] 2021-05-09 22:41:13 | [Mutex] received everything. 2021-05-09 22:41:13 | [Mutex] isItemNotified: received:node:bc91e29c-44ca-4e20-a5a0-1ec6f4442d07:localhost:node-0397af40-27c6-48ce-873f-7991c76ee6f6:Node 0397af40-27c6-48ce-873f-7991c76ee6f6 :: false |
createNodes | 1.586s |
2021-05-09 22:41:09 |
2021-05-09 22:41:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:09 | ------------------------------------ 2021-05-09 22:41:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0397af40-27c6-48ce-873f-7991c76ee6f6</title></pubsub></data> 2021-05-09 22:41:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:41:10 | [Mutex] waiting for: [received:nodes:a4900088-3729-48dd-98e2-76dc8cd58473:localhost] 2021-05-09 22:41:10 | [Mutex] received everything. 2021-05-09 22:41:10 | [Mutex] isItemNotified: received:node:a4900088-3729-48dd-98e2-76dc8cd58473:localhost:node-0397af40-27c6-48ce-873f-7991c76ee6f6:Node 0397af40-27c6-48ce-873f-7991c76ee6f6 :: true |
createSubnodes | 1.027s |
2021-05-09 22:41:10 |
2021-05-09 22:41:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:10 | ------------------------------------ 2021-05-09 22:41:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331</title></pubsub></data> 2021-05-09 22:41:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:41:12 | [Mutex] waiting for: [received:nodes:937dfb4c-355f-479a-b7ff-c1d03dc4fa74:localhost] 2021-05-09 22:41:12 | [Mutex] received everything. 2021-05-09 22:41:12 | [Mutex] isItemNotified: received:node:937dfb4c-355f-479a-b7ff-c1d03dc4fa74:localhost:node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331:Node 1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331 :: true |
deleteNodes | 1.018s |
2021-05-09 22:41:17 |
2021-05-09 22:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:17 | ------------------------------------ 2021-05-09 22:41:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331</node></data> 2021-05-09 22:41:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:41:18 | [Mutex] waiting for: [received:nodes:b0c2b7e8-1cec-4c8c-b931-05797efc434c:localhost] 2021-05-09 22:41:18 | [Mutex] received everything. 2021-05-09 22:41:18 | [Mutex] isItemNotified: received:node:b0c2b7e8-1cec-4c8c-b931-05797efc434c:localhost:node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331:Node 1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331 :: false |
deleteSubnodes | 1.134s |
2021-05-09 22:41:16 |
2021-05-09 22:41:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:16 | ------------------------------------ 2021-05-09 22:41:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node></data> 2021-05-09 22:41:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-09 22:41:17 | [Mutex] waiting for: [received:nodes:dc38bfc3-5c6d-4138-bede-886cc30199d6:localhost] 2021-05-09 22:41:17 | [Mutex] waiting for: [received:nodes:dc38bfc3-5c6d-4138-bede-886cc30199d6:localhost] 2021-05-09 22:41:17 | [Mutex] received everything. 2021-05-09 22:41:17 | [Mutex] isItemNotified: received:node:dc38bfc3-5c6d-4138-bede-886cc30199d6:localhost:node-0397af40-27c6-48ce-873f-7991c76ee6f6:Node 0397af40-27c6-48ce-873f-7991c76ee6f6 :: false 2021-05-09 22:41:17 | [Mutex] waiting for: [received:nodes:b32b25e5-ed23-4e71-bb83-89cc22fc4e17:localhost] 2021-05-09 22:41:17 | [Mutex] received everything. 2021-05-09 22:41:17 | [Mutex] isItemNotified: received:node:b32b25e5-ed23-4e71-bb83-89cc22fc4e17:localhost:node-0397af40-27c6-48ce-873f-7991c76ee6f6:Node 0397af40-27c6-48ce-873f-7991c76ee6f6 :: false |
publishItemsToNodes | 0.189s |
2021-05-09 22:41:14 |
2021-05-09 22:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:14 | ------------------------------------ 2021-05-09 22:41:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node><item-id>item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</item-id><entry><test>item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</test></entry></data> 2021-05-09 22:41:14 | 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-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</value></item-id></result> 2021-05-09 22:41:14 | [Mutex] received everything. 2021-05-09 22:41:14 | [Mutex] isItemNotified: published:item:notifieditem-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.223s |
2021-05-09 22:41:14 |
2021-05-09 22:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:14 | ------------------------------------ 2021-05-09 22:41:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node><item-id>item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</item-id></data> 2021-05-09 22:41:15 | 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-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</value></item-id></result> 2021-05-09 22:41:15 | [Mutex] received everything. 2021-05-09 22:41:15 | [Mutex] isItemNotified: retracted:item:notifieditem-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.399s |
2021-05-09 22:41:14 |
2021-05-09 22:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:14 | ------------------------------------ 2021-05-09 22:41:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node><item-id>item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</item-id></data> 2021-05-09 22:41:14 | 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-0397af40-27c6-48ce-873f-7991c76ee6f6</value></node><item-id label="Item ID" type="text-single"><value>item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</value></item-id><item label="Item" type="text-multi"><value><item id="item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8"><test>item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8</test></item></value></item></result> 2021-05-09 22:41:14 | [Mutex] notify: [retrieved:item:item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8:payload-matches:true:localhost] 2021-05-09 22:41:14 | [Mutex] received everything. 2021-05-09 22:41:14 | [Mutex] isItemNotified: retrieved:item:item-1c25e2a5-da08-4ae7-85f9-74ce3722d5f8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-09 22:41:14 |
2021-05-09 22:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:14 | ------------------------------------ 2021-05-09 22:41:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-09 22:41:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-0397af40-27c6-48ce-873f-7991c76ee6f6</value><value>test</value><value>node-1cdcc2eb-4080-49b0-9e2b-aa2b6ca00331</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-09 22:41:14 |
2021-05-09 22:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:14 | ------------------------------------ 2021-05-09 22:41:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0397af40-27c6-48ce-873f-7991c76ee6f6)</node-pattern></data> 2021-05-09 22:41:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.146s |
2021-05-09 22:41:13 |
2021-05-09 22:41:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:13 | ------------------------------------ 2021-05-09 22:41:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-09 22:41:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.287s |
2021-05-09 22:41:15 |
2021-05-09 22:41:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-09 22:41:15 | ------------------------------------ 2021-05-09 22:41:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0397af40-27c6-48ce-873f-7991c76ee6f6</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-09 22:41:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |