Test duration: 10.562s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2019-11-27 21:36:08 |
2019-11-27 21:36:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:08 | ------------------------------------ 2019-11-27 21:36:08 | [Mutex] waiting for: [configured:node:node-10baa6a3-f46f-4286-a256-8d090f8002e0:node-06a52b1d-3f20-4e20-bcf6-82521c8624dc] 2019-11-27 21:36:08 | [Mutex] received everything. 2019-11-27 21:36:08 | [Mutex] isItemNotified: configured:node:node-10baa6a3-f46f-4286-a256-8d090f8002e0:node-06a52b1d-3f20-4e20-bcf6-82521c8624dc :: true 2019-11-27 21:36:09 | [Mutex] waiting for: [received:nodes:bc1cefe7-ce74-43a3-bd6e-6f57a71b377a:localhost] 2019-11-27 21:36:09 | [Mutex] received everything. 2019-11-27 21:36:09 | [Mutex] isItemNotified: received:node:bc1cefe7-ce74-43a3-bd6e-6f57a71b377a:localhost:node-10baa6a3-f46f-4286-a256-8d090f8002e0:Node 10baa6a3-f46f-4286-a256-8d090f8002e0 :: true 2019-11-27 21:36:09 | [Mutex] waiting for: [received:nodes:fc53809b-9e13-4b80-97b3-4d52f61bab67:localhost] 2019-11-27 21:36:09 | [Mutex] received everything. 2019-11-27 21:36:09 | [Mutex] isItemNotified: received:node:fc53809b-9e13-4b80-97b3-4d52f61bab67:localhost:node-10baa6a3-f46f-4286-a256-8d090f8002e0:Node 10baa6a3-f46f-4286-a256-8d090f8002e0 :: false |
createNodes | 1.511s |
2019-11-27 21:36:05 |
2019-11-27 21:36:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:05 | ------------------------------------ 2019-11-27 21:36:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 10baa6a3-f46f-4286-a256-8d090f8002e0</title></pubsub></data> 2019-11-27 21:36:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 21:36:07 | [Mutex] waiting for: [received:nodes:bbd9b179-e2f0-4fd4-8bdb-e9f8cdaf8fe1:localhost] 2019-11-27 21:36:07 | [Mutex] received everything. 2019-11-27 21:36:07 | [Mutex] isItemNotified: received:node:bbd9b179-e2f0-4fd4-8bdb-e9f8cdaf8fe1:localhost:node-10baa6a3-f46f-4286-a256-8d090f8002e0:Node 10baa6a3-f46f-4286-a256-8d090f8002e0 :: true |
createSubnodes | 1.042s |
2019-11-27 21:36:07 |
2019-11-27 21:36:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:07 | ------------------------------------ 2019-11-27 21:36:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-06a52b1d-3f20-4e20-bcf6-82521c8624dc</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 06a52b1d-3f20-4e20-bcf6-82521c8624dc</title></pubsub></data> 2019-11-27 21:36:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 21:36:08 | [Mutex] waiting for: [received:nodes:484441a1-3121-4dd1-b9b3-953b5413d4ce:localhost] 2019-11-27 21:36:08 | [Mutex] received everything. 2019-11-27 21:36:08 | [Mutex] isItemNotified: received:node:484441a1-3121-4dd1-b9b3-953b5413d4ce:localhost:node-06a52b1d-3f20-4e20-bcf6-82521c8624dc:Node 06a52b1d-3f20-4e20-bcf6-82521c8624dc :: true |
deleteNodes | 1.024s |
2019-11-27 21:36:14 |
2019-11-27 21:36:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:14 | ------------------------------------ 2019-11-27 21:36:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-06a52b1d-3f20-4e20-bcf6-82521c8624dc</node></data> 2019-11-27 21:36:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 21:36:15 | [Mutex] waiting for: [received:nodes:f93d0fe6-2e27-4d2a-9709-4bd90d756a30:localhost] 2019-11-27 21:36:15 | [Mutex] received everything. 2019-11-27 21:36:15 | [Mutex] isItemNotified: received:node:f93d0fe6-2e27-4d2a-9709-4bd90d756a30:localhost:node-06a52b1d-3f20-4e20-bcf6-82521c8624dc:Node 06a52b1d-3f20-4e20-bcf6-82521c8624dc :: false |
deleteSubnodes | 1.261s |
2019-11-27 21:36:13 |
2019-11-27 21:36:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:13 | ------------------------------------ 2019-11-27 21:36:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node></data> 2019-11-27 21:36:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 21:36:14 | [Mutex] waiting for: [received:nodes:313088f0-7eec-4155-b1e4-6efc165c5181:localhost] 2019-11-27 21:36:14 | [Mutex] received everything. 2019-11-27 21:36:14 | [Mutex] isItemNotified: received:node:313088f0-7eec-4155-b1e4-6efc165c5181:localhost:node-10baa6a3-f46f-4286-a256-8d090f8002e0:Node 10baa6a3-f46f-4286-a256-8d090f8002e0 :: false 2019-11-27 21:36:14 | [Mutex] waiting for: [received:nodes:b44b84a9-8e49-4b23-aa0e-aacaf940e3e8:localhost] 2019-11-27 21:36:14 | [Mutex] received everything. 2019-11-27 21:36:14 | [Mutex] isItemNotified: received:node:b44b84a9-8e49-4b23-aa0e-aacaf940e3e8:localhost:node-10baa6a3-f46f-4286-a256-8d090f8002e0:Node 10baa6a3-f46f-4286-a256-8d090f8002e0 :: false |
publishItemsToNodes | 0.391s |
2019-11-27 21:36:10 |
2019-11-27 21:36:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:10 | ------------------------------------ 2019-11-27 21:36:10 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node><item-id>item-e2843ed6-5851-40d6-8b32-be6e685307b2</item-id><entry><test>item-e2843ed6-5851-40d6-8b32-be6e685307b2</test></entry></data> 2019-11-27 21:36:11 | 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-e2843ed6-5851-40d6-8b32-be6e685307b2</value></item-id></result> 2019-11-27 21:36:11 | [Mutex] waiting for: [published:item:notifieditem-e2843ed6-5851-40d6-8b32-be6e685307b2:admin@localhost] 2019-11-27 21:36:11 | [Mutex] received everything. 2019-11-27 21:36:11 | [Mutex] isItemNotified: published:item:notifieditem-e2843ed6-5851-40d6-8b32-be6e685307b2:admin@localhost :: true |
retractItemsFromNodes | 0.264s |
2019-11-27 21:36:11 |
2019-11-27 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:11 | ------------------------------------ 2019-11-27 21:36:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node><item-id>item-e2843ed6-5851-40d6-8b32-be6e685307b2</item-id></data> 2019-11-27 21:36:11 | 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-e2843ed6-5851-40d6-8b32-be6e685307b2</value></item-id></result> 2019-11-27 21:36:11 | [Mutex] waiting for: [retracted:item:notifieditem-e2843ed6-5851-40d6-8b32-be6e685307b2:admin@localhost] 2019-11-27 21:36:11 | [Mutex] received everything. 2019-11-27 21:36:11 | [Mutex] isItemNotified: retracted:item:notifieditem-e2843ed6-5851-40d6-8b32-be6e685307b2:admin@localhost :: true |
retrieveItemsFromNodes | 0.227s |
2019-11-27 21:36:11 |
2019-11-27 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:11 | ------------------------------------ 2019-11-27 21:36:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node><item-id>item-e2843ed6-5851-40d6-8b32-be6e685307b2</item-id></data> 2019-11-27 21:36:11 | 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-10baa6a3-f46f-4286-a256-8d090f8002e0</value></node><item-id label="Item ID" type="text-single"><value>item-e2843ed6-5851-40d6-8b32-be6e685307b2</value></item-id><item label="Item" type="text-multi"><value><item id="item-e2843ed6-5851-40d6-8b32-be6e685307b2"><test>item-e2843ed6-5851-40d6-8b32-be6e685307b2</test></item></value></item></result> 2019-11-27 21:36:11 | [Mutex] notify: [retrieved:item:item-e2843ed6-5851-40d6-8b32-be6e685307b2:payload-matches:true:localhost] 2019-11-27 21:36:11 | [Mutex] received everything. 2019-11-27 21:36:11 | [Mutex] isItemNotified: retrieved:item:item-e2843ed6-5851-40d6-8b32-be6e685307b2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.280s |
2019-11-27 21:36:11 |
2019-11-27 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:11 | ------------------------------------ 2019-11-27 21:36:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-27 21:36:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-10baa6a3-f46f-4286-a256-8d090f8002e0</value><value>node-06a52b1d-3f20-4e20-bcf6-82521c8624dc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2019-11-27 21:36:11 |
2019-11-27 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:11 | ------------------------------------ 2019-11-27 21:36:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-10baa6a3-f46f-4286-a256-8d090f8002e0)</node-pattern></data> 2019-11-27 21:36:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.198s |
2019-11-27 21:36:09 |
2019-11-27 21:36:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:09 | ------------------------------------ 2019-11-27 21:36:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node><jids><value>admin@localhost</value></jids></data> 2019-11-27 21:36:09 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.386s |
2019-11-27 21:36:11 |
2019-11-27 21:36:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 21:36:11 | ------------------------------------ 2019-11-27 21:36:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-10baa6a3-f46f-4286-a256-8d090f8002e0</node><jids><value>admin@localhost</value></jids></data> 2019-11-27 21:36:12 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |