Test duration : 9.366s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2023-03-23 22:30:20 |
2023-03-23 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:20 | ------------------------------------ 2023-03-23 22:30:20 | [Mutex] waiting for: [configured:node:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:node-49653984-ab3c-4cf7-ae5e-76d4c89d778a] 2023-03-23 22:30:20 | [Mutex] received everything. 2023-03-23 22:30:20 | [Mutex] isItemNotified: configured:node:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:node-49653984-ab3c-4cf7-ae5e-76d4c89d778a :: true 2023-03-23 22:30:21 | [Mutex] waiting for: [received:nodes:7ce1e6e1-f6fc-460a-9949-9c06fbec2378:localhost] 2023-03-23 22:30:21 | [Mutex] received everything. 2023-03-23 22:30:21 | [Mutex] isItemNotified: received:node:7ce1e6e1-f6fc-460a-9949-9c06fbec2378:localhost:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:Node 781a8cf5-f484-4423-90aa-1e4eb8c57ab6 :: true 2023-03-23 22:30:21 | [Mutex] waiting for: [received:nodes:ee0f71d4-ef91-467a-ad98-3cbefaa2885e:localhost] 2023-03-23 22:30:21 | [Mutex] received everything. 2023-03-23 22:30:21 | [Mutex] isItemNotified: received:node:ee0f71d4-ef91-467a-ad98-3cbefaa2885e:localhost:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:Node 781a8cf5-f484-4423-90aa-1e4eb8c57ab6 :: false |
createNodes | 1.403s |
2023-03-23 22:30:18 |
2023-03-23 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:18 | ------------------------------------ 2023-03-23 22:30:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 781a8cf5-f484-4423-90aa-1e4eb8c57ab6</title></pubsub></data> 2023-03-23 22:30:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:19 | [Mutex] waiting for: [received:nodes:0a56fffe-d647-4081-b47d-f82a4b89c8b5:localhost] 2023-03-23 22:30:19 | [Mutex] waiting for: [received:nodes:0a56fffe-d647-4081-b47d-f82a4b89c8b5:localhost] 2023-03-23 22:30:19 | [Mutex] waiting for: [received:nodes:0a56fffe-d647-4081-b47d-f82a4b89c8b5:localhost] 2023-03-23 22:30:19 | [Mutex] waiting for: [received:nodes:0a56fffe-d647-4081-b47d-f82a4b89c8b5:localhost] 2023-03-23 22:30:19 | [Mutex] received everything. 2023-03-23 22:30:19 | [Mutex] isItemNotified: received:node:0a56fffe-d647-4081-b47d-f82a4b89c8b5:localhost:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:Node 781a8cf5-f484-4423-90aa-1e4eb8c57ab6 :: true |
createSubnodes | 1.029s |
2023-03-23 22:30:19 |
2023-03-23 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:19 | ------------------------------------ 2023-03-23 22:30:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-49653984-ab3c-4cf7-ae5e-76d4c89d778a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 49653984-ab3c-4cf7-ae5e-76d4c89d778a</title></pubsub></data> 2023-03-23 22:30:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:20 | [Mutex] waiting for: [received:nodes:6707c3b6-db75-42b3-aab1-5a1055f3b2c1:localhost] 2023-03-23 22:30:20 | [Mutex] waiting for: [received:nodes:6707c3b6-db75-42b3-aab1-5a1055f3b2c1:localhost] 2023-03-23 22:30:20 | [Mutex] waiting for: [received:nodes:6707c3b6-db75-42b3-aab1-5a1055f3b2c1:localhost] 2023-03-23 22:30:20 | [Mutex] waiting for: [received:nodes:6707c3b6-db75-42b3-aab1-5a1055f3b2c1:localhost] 2023-03-23 22:30:20 | [Mutex] received everything. 2023-03-23 22:30:20 | [Mutex] isItemNotified: received:node:6707c3b6-db75-42b3-aab1-5a1055f3b2c1:localhost:node-49653984-ab3c-4cf7-ae5e-76d4c89d778a:Node 49653984-ab3c-4cf7-ae5e-76d4c89d778a :: true |
deleteNodes | 1.025s |
2023-03-23 22:30:25 |
2023-03-23 22:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:25 | ------------------------------------ 2023-03-23 22:30:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-49653984-ab3c-4cf7-ae5e-76d4c89d778a</node></data> 2023-03-23 22:30:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:26 | [Mutex] waiting for: [received:nodes:4201aa3a-3572-4616-910c-13b78997f3fe:localhost] 2023-03-23 22:30:26 | [Mutex] received everything. 2023-03-23 22:30:26 | [Mutex] isItemNotified: received:node:4201aa3a-3572-4616-910c-13b78997f3fe:localhost:node-49653984-ab3c-4cf7-ae5e-76d4c89d778a:Node 49653984-ab3c-4cf7-ae5e-76d4c89d778a :: false |
deleteSubnodes | 1.120s |
2023-03-23 22:30:24 |
2023-03-23 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:24 | ------------------------------------ 2023-03-23 22:30:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node></data> 2023-03-23 22:30:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-23 22:30:25 | [Mutex] waiting for: [received:nodes:05df6303-09f2-4112-acc4-a4d68e4163d0:localhost] 2023-03-23 22:30:25 | [Mutex] waiting for: [received:nodes:05df6303-09f2-4112-acc4-a4d68e4163d0:localhost] 2023-03-23 22:30:25 | [Mutex] waiting for: [received:nodes:05df6303-09f2-4112-acc4-a4d68e4163d0:localhost] 2023-03-23 22:30:25 | [Mutex] waiting for: [received:nodes:05df6303-09f2-4112-acc4-a4d68e4163d0:localhost] 2023-03-23 22:30:25 | [Mutex] received everything. 2023-03-23 22:30:25 | [Mutex] isItemNotified: received:node:05df6303-09f2-4112-acc4-a4d68e4163d0:localhost:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:Node 781a8cf5-f484-4423-90aa-1e4eb8c57ab6 :: false 2023-03-23 22:30:25 | [Mutex] waiting for: [received:nodes:dbe7dc74-e0ff-4412-8b80-045286a6ec59:localhost] 2023-03-23 22:30:25 | [Mutex] received everything. 2023-03-23 22:30:25 | [Mutex] isItemNotified: received:node:dbe7dc74-e0ff-4412-8b80-045286a6ec59:localhost:node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6:Node 781a8cf5-f484-4423-90aa-1e4eb8c57ab6 :: false |
publishItemsToNodes | 0.248s |
2023-03-23 22:30:22 |
2023-03-23 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:22 | ------------------------------------ 2023-03-23 22:30:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node><item-id>item-71bdb96b-8f38-4af7-b510-9476d23d7484</item-id><entry><test>item-71bdb96b-8f38-4af7-b510-9476d23d7484</test></entry></data> 2023-03-23 22:30:22 | 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-71bdb96b-8f38-4af7-b510-9476d23d7484</value></item-id></result> 2023-03-23 22:30:22 | [Mutex] received everything. 2023-03-23 22:30:22 | [Mutex] isItemNotified: published:item:notifieditem-71bdb96b-8f38-4af7-b510-9476d23d7484:admin@test-domain.com :: true |
retractItemsFromNodes | 0.196s |
2023-03-23 22:30:23 |
2023-03-23 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:23 | ------------------------------------ 2023-03-23 22:30:23 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node><item-id>item-71bdb96b-8f38-4af7-b510-9476d23d7484</item-id></data> 2023-03-23 22:30:23 | 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-71bdb96b-8f38-4af7-b510-9476d23d7484</value></item-id></result> 2023-03-23 22:30:23 | [Mutex] received everything. 2023-03-23 22:30:23 | [Mutex] isItemNotified: retracted:item:notifieditem-71bdb96b-8f38-4af7-b510-9476d23d7484:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.235s |
2023-03-23 22:30:22 |
2023-03-23 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:22 | ------------------------------------ 2023-03-23 22:30:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node><item-id>item-71bdb96b-8f38-4af7-b510-9476d23d7484</item-id></data> 2023-03-23 22:30:23 | 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-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</value></node><item-id label="Item ID" type="text-single"><value>item-71bdb96b-8f38-4af7-b510-9476d23d7484</value></item-id><item label="Item" type="text-multi"><value><item id="item-71bdb96b-8f38-4af7-b510-9476d23d7484"><test>item-71bdb96b-8f38-4af7-b510-9476d23d7484</test></item></value></item></result> 2023-03-23 22:30:23 | [Mutex] notify: [retrieved:item:item-71bdb96b-8f38-4af7-b510-9476d23d7484:payload-matches:true:localhost] 2023-03-23 22:30:23 | [Mutex] received everything. 2023-03-23 22:30:23 | [Mutex] isItemNotified: retrieved:item:item-71bdb96b-8f38-4af7-b510-9476d23d7484:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-23 22:30:23 |
2023-03-23 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:23 | ------------------------------------ 2023-03-23 22:30:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-23 22:30:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</value><value>node-49653984-ab3c-4cf7-ae5e-76d4c89d778a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.056s |
2023-03-23 22:30:23 |
2023-03-23 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:23 | ------------------------------------ 2023-03-23 22:30:23 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6)</node-pattern></data> 2023-03-23 22:30:23 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.165s |
2023-03-23 22:30:21 |
2023-03-23 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:21 | ------------------------------------ 2023-03-23 22:30:21 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 22:30:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.140s |
2023-03-23 22:30:23 |
2023-03-23 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-23 22:30:23 | ------------------------------------ 2023-03-23 22:30:23 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-781a8cf5-f484-4423-90aa-1e4eb8c57ab6</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-23 22:30:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |