Test duration : 10.101s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2020-11-03 21:27:11 |
2020-11-03 21:27:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:11 | ------------------------------------ 2020-11-03 21:27:11 | [Mutex] waiting for: [configured:node:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:node-16e01399-944a-4468-80f4-71a4dba73efe] 2020-11-03 21:27:12 | [Mutex] received everything. 2020-11-03 21:27:12 | [Mutex] isItemNotified: configured:node:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:node-16e01399-944a-4468-80f4-71a4dba73efe :: true 2020-11-03 21:27:13 | [Mutex] waiting for: [received:nodes:a831c004-15fb-4d08-ac28-ba860c14df77:localhost] 2020-11-03 21:27:13 | [Mutex] received everything. 2020-11-03 21:27:13 | [Mutex] isItemNotified: received:node:a831c004-15fb-4d08-ac28-ba860c14df77:localhost:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:Node 5f8a6a45-9f64-4fbe-a451-b8ea272ff343 :: true 2020-11-03 21:27:13 | [Mutex] waiting for: [received:nodes:1d56e4ed-70ee-408f-9301-d73d0f78609f:localhost] 2020-11-03 21:27:13 | [Mutex] received everything. 2020-11-03 21:27:13 | [Mutex] isItemNotified: received:node:1d56e4ed-70ee-408f-9301-d73d0f78609f:localhost:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:Node 5f8a6a45-9f64-4fbe-a451-b8ea272ff343 :: false |
createNodes | 1.520s |
2020-11-03 21:27:09 |
2020-11-03 21:27:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:09 | ------------------------------------ 2020-11-03 21:27:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5f8a6a45-9f64-4fbe-a451-b8ea272ff343</title></pubsub></data> 2020-11-03 21:27:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:27:10 | [Mutex] waiting for: [received:nodes:a761e397-bab3-4fb4-b101-493bff492fe6:localhost] 2020-11-03 21:27:10 | [Mutex] waiting for: [received:nodes:a761e397-bab3-4fb4-b101-493bff492fe6:localhost] 2020-11-03 21:27:10 | [Mutex] received everything. 2020-11-03 21:27:10 | [Mutex] isItemNotified: received:node:a761e397-bab3-4fb4-b101-493bff492fe6:localhost:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:Node 5f8a6a45-9f64-4fbe-a451-b8ea272ff343 :: true |
createSubnodes | 1.027s |
2020-11-03 21:27:10 |
2020-11-03 21:27:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:10 | ------------------------------------ 2020-11-03 21:27:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-16e01399-944a-4468-80f4-71a4dba73efe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 16e01399-944a-4468-80f4-71a4dba73efe</title></pubsub></data> 2020-11-03 21:27:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:27:11 | [Mutex] waiting for: [received:nodes:5b6cd7bd-5c5d-4e94-adc4-caf37b730503:localhost] 2020-11-03 21:27:11 | [Mutex] received everything. 2020-11-03 21:27:11 | [Mutex] isItemNotified: received:node:5b6cd7bd-5c5d-4e94-adc4-caf37b730503:localhost:node-16e01399-944a-4468-80f4-71a4dba73efe:Node 16e01399-944a-4468-80f4-71a4dba73efe :: true |
deleteNodes | 1.021s |
2020-11-03 21:27:17 |
2020-11-03 21:27:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:17 | ------------------------------------ 2020-11-03 21:27:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-16e01399-944a-4468-80f4-71a4dba73efe</node></data> 2020-11-03 21:27:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:27:18 | [Mutex] waiting for: [received:nodes:082539a0-f307-437f-83c2-82dd392488e1:localhost] 2020-11-03 21:27:18 | [Mutex] received everything. 2020-11-03 21:27:18 | [Mutex] isItemNotified: received:node:082539a0-f307-437f-83c2-82dd392488e1:localhost:node-16e01399-944a-4468-80f4-71a4dba73efe:Node 16e01399-944a-4468-80f4-71a4dba73efe :: false |
deleteSubnodes | 1.123s |
2020-11-03 21:27:16 |
2020-11-03 21:27:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:16 | ------------------------------------ 2020-11-03 21:27:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node></data> 2020-11-03 21:27:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-03 21:27:17 | [Mutex] waiting for: [received:nodes:bd1ee77b-2e90-4597-90c2-87bd6a97b188:localhost] 2020-11-03 21:27:17 | [Mutex] received everything. 2020-11-03 21:27:17 | [Mutex] isItemNotified: received:node:bd1ee77b-2e90-4597-90c2-87bd6a97b188:localhost:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:Node 5f8a6a45-9f64-4fbe-a451-b8ea272ff343 :: false 2020-11-03 21:27:17 | [Mutex] waiting for: [received:nodes:815d38e9-614e-494f-88a1-095eba7a4554:localhost] 2020-11-03 21:27:17 | [Mutex] received everything. 2020-11-03 21:27:17 | [Mutex] isItemNotified: received:node:815d38e9-614e-494f-88a1-095eba7a4554:localhost:node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343:Node 5f8a6a45-9f64-4fbe-a451-b8ea272ff343 :: false |
publishItemsToNodes | 0.219s |
2020-11-03 21:27:14 |
2020-11-03 21:27:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:14 | ------------------------------------ 2020-11-03 21:27:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node><item-id>item-9d025a21-0ba0-478f-9381-709077d91265</item-id><entry><test>item-9d025a21-0ba0-478f-9381-709077d91265</test></entry></data> 2020-11-03 21:27:14 | 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-9d025a21-0ba0-478f-9381-709077d91265</value></item-id></result> 2020-11-03 21:27:14 | [Mutex] received everything. 2020-11-03 21:27:14 | [Mutex] isItemNotified: published:item:notifieditem-9d025a21-0ba0-478f-9381-709077d91265:admin@test-domain.com :: true |
retractItemsFromNodes | 0.216s |
2020-11-03 21:27:14 |
2020-11-03 21:27:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:14 | ------------------------------------ 2020-11-03 21:27:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node><item-id>item-9d025a21-0ba0-478f-9381-709077d91265</item-id></data> 2020-11-03 21:27:15 | 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-9d025a21-0ba0-478f-9381-709077d91265</value></item-id></result> 2020-11-03 21:27:15 | [Mutex] waiting for: [retracted:item:notifieditem-9d025a21-0ba0-478f-9381-709077d91265:admin@test-domain.com] 2020-11-03 21:27:15 | [Mutex] received everything. 2020-11-03 21:27:15 | [Mutex] isItemNotified: retracted:item:notifieditem-9d025a21-0ba0-478f-9381-709077d91265:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.289s |
2020-11-03 21:27:14 |
2020-11-03 21:27:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:14 | ------------------------------------ 2020-11-03 21:27:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node><item-id>item-9d025a21-0ba0-478f-9381-709077d91265</item-id></data> 2020-11-03 21:27:14 | 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-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</value></node><item-id type="text-single" label="Item ID"><value>item-9d025a21-0ba0-478f-9381-709077d91265</value></item-id><item type="text-multi" label="Item"><value><item id="item-9d025a21-0ba0-478f-9381-709077d91265"><test>item-9d025a21-0ba0-478f-9381-709077d91265</test></item></value></item></result> 2020-11-03 21:27:14 | [Mutex] notify: [retrieved:item:item-9d025a21-0ba0-478f-9381-709077d91265:payload-matches:true:localhost] 2020-11-03 21:27:14 | [Mutex] received everything. 2020-11-03 21:27:14 | [Mutex] isItemNotified: retrieved:item:item-9d025a21-0ba0-478f-9381-709077d91265:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-03 21:27:14 |
2020-11-03 21:27:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:14 | ------------------------------------ 2020-11-03 21:27:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-03 21:27:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-16e01399-944a-4468-80f4-71a4dba73efe</value><value>test</value><value>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-11-03 21:27:14 |
2020-11-03 21:27:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:14 | ------------------------------------ 2020-11-03 21:27: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-5f8a6a45-9f64-4fbe-a451-b8ea272ff343)</node-pattern></data> 2020-11-03 21:27:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2020-11-03 21:27:13 |
2020-11-03 21:27:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:13 | ------------------------------------ 2020-11-03 21:27:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-03 21:27: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.393s |
2020-11-03 21:27:15 |
2020-11-03 21:27:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-03 21:27:15 | ------------------------------------ 2020-11-03 21:27:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5f8a6a45-9f64-4fbe-a451-b8ea272ff343</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-03 21:27:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |