Test duration : 9.595s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2023-08-25 22:31:58 |
2023-08-25 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:31:58 | ------------------------------------ 2023-08-25 22:31:58 | [Mutex] waiting for: [configured:node:node-172a4c51-910b-455e-a406-258a91d1f35b:node-c4010755-cd09-431f-a12c-9db84cda7787] 2023-08-25 22:31:58 | [Mutex] received everything. 2023-08-25 22:31:58 | [Mutex] isItemNotified: configured:node:node-172a4c51-910b-455e-a406-258a91d1f35b:node-c4010755-cd09-431f-a12c-9db84cda7787 :: true 2023-08-25 22:31:59 | [Mutex] waiting for: [received:nodes:63ea2403-c22d-42a0-bbf2-f8b396bd79c9:localhost] 2023-08-25 22:31:59 | [Mutex] received everything. 2023-08-25 22:31:59 | [Mutex] isItemNotified: received:node:63ea2403-c22d-42a0-bbf2-f8b396bd79c9:localhost:node-172a4c51-910b-455e-a406-258a91d1f35b:Node 172a4c51-910b-455e-a406-258a91d1f35b :: true 2023-08-25 22:31:59 | [Mutex] waiting for: [received:nodes:6bb5770e-4ed4-43ad-a1de-3fb5c4bfeb7e:localhost] 2023-08-25 22:31:59 | [Mutex] waiting for: [received:nodes:6bb5770e-4ed4-43ad-a1de-3fb5c4bfeb7e:localhost] 2023-08-25 22:31:59 | [Mutex] waiting for: [received:nodes:6bb5770e-4ed4-43ad-a1de-3fb5c4bfeb7e:localhost] 2023-08-25 22:31:59 | [Mutex] received everything. 2023-08-25 22:31:59 | [Mutex] isItemNotified: received:node:6bb5770e-4ed4-43ad-a1de-3fb5c4bfeb7e:localhost:node-172a4c51-910b-455e-a406-258a91d1f35b:Node 172a4c51-910b-455e-a406-258a91d1f35b :: false |
createNodes | 1.485s |
2023-08-25 22:31:55 |
2023-08-25 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:31:55 | ------------------------------------ 2023-08-25 22:31:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 172a4c51-910b-455e-a406-258a91d1f35b</title></pubsub></data> 2023-08-25 22:31:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 22:31:57 | [Mutex] waiting for: [received:nodes:68fdea01-75c5-4eb3-8f20-b60b844f1129:localhost] 2023-08-25 22:31:57 | [Mutex] received everything. 2023-08-25 22:31:57 | [Mutex] isItemNotified: received:node:68fdea01-75c5-4eb3-8f20-b60b844f1129:localhost:node-172a4c51-910b-455e-a406-258a91d1f35b:Node 172a4c51-910b-455e-a406-258a91d1f35b :: true |
createSubnodes | 1.027s |
2023-08-25 22:31:57 |
2023-08-25 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:31:57 | ------------------------------------ 2023-08-25 22:31:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c4010755-cd09-431f-a12c-9db84cda7787</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c4010755-cd09-431f-a12c-9db84cda7787</title></pubsub></data> 2023-08-25 22:31:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 22:31:58 | [Mutex] waiting for: [received:nodes:2ed92381-6d31-4ce3-819c-7f040a0ca374:localhost] 2023-08-25 22:31:58 | [Mutex] waiting for: [received:nodes:2ed92381-6d31-4ce3-819c-7f040a0ca374:localhost] 2023-08-25 22:31:58 | [Mutex] waiting for: [received:nodes:2ed92381-6d31-4ce3-819c-7f040a0ca374:localhost] 2023-08-25 22:31:58 | [Mutex] waiting for: [received:nodes:2ed92381-6d31-4ce3-819c-7f040a0ca374:localhost] 2023-08-25 22:31:58 | [Mutex] received everything. 2023-08-25 22:31:58 | [Mutex] isItemNotified: received:node:2ed92381-6d31-4ce3-819c-7f040a0ca374:localhost:node-c4010755-cd09-431f-a12c-9db84cda7787:Node c4010755-cd09-431f-a12c-9db84cda7787 :: true |
deleteNodes | 1.017s |
2023-08-25 22:32:03 |
2023-08-25 22:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:03 | ------------------------------------ 2023-08-25 22:32:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c4010755-cd09-431f-a12c-9db84cda7787</node></data> 2023-08-25 22:32:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 22:32:04 | [Mutex] waiting for: [received:nodes:cb1bae25-d0c4-404e-8c9b-413713f79422:localhost] 2023-08-25 22:32:04 | [Mutex] waiting for: [received:nodes:cb1bae25-d0c4-404e-8c9b-413713f79422:localhost] 2023-08-25 22:32:04 | [Mutex] waiting for: [received:nodes:cb1bae25-d0c4-404e-8c9b-413713f79422:localhost] 2023-08-25 22:32:04 | [Mutex] received everything. 2023-08-25 22:32:04 | [Mutex] isItemNotified: received:node:cb1bae25-d0c4-404e-8c9b-413713f79422:localhost:node-c4010755-cd09-431f-a12c-9db84cda7787:Node c4010755-cd09-431f-a12c-9db84cda7787 :: false |
deleteSubnodes | 1.133s |
2023-08-25 22:32:02 |
2023-08-25 22:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:02 | ------------------------------------ 2023-08-25 22:32:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node></data> 2023-08-25 22:32:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-25 22:32:03 | [Mutex] waiting for: [received:nodes:d2eb489e-461a-421b-af5e-2cb85a34d771:localhost] 2023-08-25 22:32:03 | [Mutex] received everything. 2023-08-25 22:32:03 | [Mutex] isItemNotified: received:node:d2eb489e-461a-421b-af5e-2cb85a34d771:localhost:node-172a4c51-910b-455e-a406-258a91d1f35b:Node 172a4c51-910b-455e-a406-258a91d1f35b :: false 2023-08-25 22:32:03 | [Mutex] waiting for: [received:nodes:c682a4ce-6db9-471b-96d3-2a12f8c1f004:localhost] 2023-08-25 22:32:03 | [Mutex] received everything. 2023-08-25 22:32:03 | [Mutex] isItemNotified: received:node:c682a4ce-6db9-471b-96d3-2a12f8c1f004:localhost:node-172a4c51-910b-455e-a406-258a91d1f35b:Node 172a4c51-910b-455e-a406-258a91d1f35b :: false |
publishItemsToNodes | 0.189s |
2023-08-25 22:32:00 |
2023-08-25 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:00 | ------------------------------------ 2023-08-25 22:32:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node><item-id>item-03fc64d2-636d-4335-aab3-25816844be75</item-id><entry><test>item-03fc64d2-636d-4335-aab3-25816844be75</test></entry></data> 2023-08-25 22:32:00 | 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-03fc64d2-636d-4335-aab3-25816844be75</value></item-id></result> 2023-08-25 22:32:00 | [Mutex] waiting for: [published:item:notifieditem-03fc64d2-636d-4335-aab3-25816844be75:admin@test-domain.com] 2023-08-25 22:32:00 | [Mutex] received everything. 2023-08-25 22:32:00 | [Mutex] isItemNotified: published:item:notifieditem-03fc64d2-636d-4335-aab3-25816844be75:admin@test-domain.com :: true |
retractItemsFromNodes | 0.259s |
2023-08-25 22:32:01 |
2023-08-25 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:01 | ------------------------------------ 2023-08-25 22:32:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node><item-id>item-03fc64d2-636d-4335-aab3-25816844be75</item-id></data> 2023-08-25 22:32:01 | 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-03fc64d2-636d-4335-aab3-25816844be75</value></item-id></result> 2023-08-25 22:32:01 | [Mutex] received everything. 2023-08-25 22:32:01 | [Mutex] isItemNotified: retracted:item:notifieditem-03fc64d2-636d-4335-aab3-25816844be75:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.328s |
2023-08-25 22:32:00 |
2023-08-25 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:00 | ------------------------------------ 2023-08-25 22:32:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node><item-id>item-03fc64d2-636d-4335-aab3-25816844be75</item-id></data> 2023-08-25 22:32:01 | 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-172a4c51-910b-455e-a406-258a91d1f35b</value></node><item-id label="Item ID" type="text-single"><value>item-03fc64d2-636d-4335-aab3-25816844be75</value></item-id><item label="Item" type="text-multi"><value><item id="item-03fc64d2-636d-4335-aab3-25816844be75"><test>item-03fc64d2-636d-4335-aab3-25816844be75</test></item></value></item></result> 2023-08-25 22:32:01 | [Mutex] notify: [retrieved:item:item-03fc64d2-636d-4335-aab3-25816844be75:payload-matches:true:localhost] 2023-08-25 22:32:01 | [Mutex] received everything. 2023-08-25 22:32:01 | [Mutex] isItemNotified: retrieved:item:item-03fc64d2-636d-4335-aab3-25816844be75:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-08-25 22:32:01 |
2023-08-25 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:01 | ------------------------------------ 2023-08-25 22:32:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-08-25 22:32:01 | 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-c4010755-cd09-431f-a12c-9db84cda7787</value><value>node-172a4c51-910b-455e-a406-258a91d1f35b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-08-25 22:32:01 |
2023-08-25 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:01 | ------------------------------------ 2023-08-25 22:32:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-172a4c51-910b-455e-a406-258a91d1f35b)</node-pattern></data> 2023-08-25 22:32:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.112s |
2023-08-25 22:31:59 |
2023-08-25 22:31:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:31:59 | ------------------------------------ 2023-08-25 22:31:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-25 22:31:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.219s |
2023-08-25 22:32:01 |
2023-08-25 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-25 22:32:01 | ------------------------------------ 2023-08-25 22:32:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-172a4c51-910b-455e-a406-258a91d1f35b</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-25 22:32:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |