Test duration : 9.557s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-06-10 22:50:40 |
2022-06-10 22:50:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:40 | ------------------------------------ 2022-06-10 22:50:40 | [Mutex] waiting for: [configured:node:node-720e6503-6d85-4570-927a-7cd9641b3dbc:node-364bc60f-488e-4a24-aaa9-69072a3a03dc] 2022-06-10 22:50:40 | [Mutex] received everything. 2022-06-10 22:50:40 | [Mutex] isItemNotified: configured:node:node-720e6503-6d85-4570-927a-7cd9641b3dbc:node-364bc60f-488e-4a24-aaa9-69072a3a03dc :: true 2022-06-10 22:50:41 | [Mutex] waiting for: [received:nodes:e138e8fb-a291-40c9-b81e-3283461082be:localhost] 2022-06-10 22:50:41 | [Mutex] received everything. 2022-06-10 22:50:41 | [Mutex] isItemNotified: received:node:e138e8fb-a291-40c9-b81e-3283461082be:localhost:node-720e6503-6d85-4570-927a-7cd9641b3dbc:Node 720e6503-6d85-4570-927a-7cd9641b3dbc :: true 2022-06-10 22:50:41 | [Mutex] waiting for: [received:nodes:fd4d66b0-b8f1-47ff-82ff-da3e85954637:localhost] 2022-06-10 22:50:41 | [Mutex] received everything. 2022-06-10 22:50:41 | [Mutex] isItemNotified: received:node:fd4d66b0-b8f1-47ff-82ff-da3e85954637:localhost:node-720e6503-6d85-4570-927a-7cd9641b3dbc:Node 720e6503-6d85-4570-927a-7cd9641b3dbc :: false |
createNodes | 1.436s |
2022-06-10 22:50:37 |
2022-06-10 22:50:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:37 | ------------------------------------ 2022-06-10 22:50:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 720e6503-6d85-4570-927a-7cd9641b3dbc</title></pubsub></data> 2022-06-10 22:50:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:50:38 | [Mutex] waiting for: [received:nodes:6e6ffcaa-79fd-4ae8-b17e-c6b61d97aee7:localhost] 2022-06-10 22:50:38 | [Mutex] received everything. 2022-06-10 22:50:38 | [Mutex] isItemNotified: received:node:6e6ffcaa-79fd-4ae8-b17e-c6b61d97aee7:localhost:node-720e6503-6d85-4570-927a-7cd9641b3dbc:Node 720e6503-6d85-4570-927a-7cd9641b3dbc :: true |
createSubnodes | 1.054s |
2022-06-10 22:50:38 |
2022-06-10 22:50:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:38 | ------------------------------------ 2022-06-10 22:50:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-364bc60f-488e-4a24-aaa9-69072a3a03dc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 364bc60f-488e-4a24-aaa9-69072a3a03dc</title></pubsub></data> 2022-06-10 22:50:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:50:40 | [Mutex] waiting for: [received:nodes:1d05f5df-de32-4661-bb25-3d294ef5a7bd:localhost] 2022-06-10 22:50:40 | [Mutex] received everything. 2022-06-10 22:50:40 | [Mutex] isItemNotified: received:node:1d05f5df-de32-4661-bb25-3d294ef5a7bd:localhost:node-364bc60f-488e-4a24-aaa9-69072a3a03dc:Node 364bc60f-488e-4a24-aaa9-69072a3a03dc :: true |
deleteNodes | 1.017s |
2022-06-10 22:50:45 |
2022-06-10 22:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:45 | ------------------------------------ 2022-06-10 22:50:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-364bc60f-488e-4a24-aaa9-69072a3a03dc</node></data> 2022-06-10 22:50:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:50:46 | [Mutex] waiting for: [received:nodes:e7d1f0aa-b8d5-48bb-8068-80e6c88115df:localhost] 2022-06-10 22:50:46 | [Mutex] waiting for: [received:nodes:e7d1f0aa-b8d5-48bb-8068-80e6c88115df:localhost] 2022-06-10 22:50:46 | [Mutex] received everything. 2022-06-10 22:50:46 | [Mutex] isItemNotified: received:node:e7d1f0aa-b8d5-48bb-8068-80e6c88115df:localhost:node-364bc60f-488e-4a24-aaa9-69072a3a03dc:Node 364bc60f-488e-4a24-aaa9-69072a3a03dc :: false |
deleteSubnodes | 1.139s |
2022-06-10 22:50:44 |
2022-06-10 22:50:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:44 | ------------------------------------ 2022-06-10 22:50:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node></data> 2022-06-10 22:50:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-10 22:50:45 | [Mutex] waiting for: [received:nodes:351ddd09-9236-42e6-88ac-6c273ce4d1da:localhost] 2022-06-10 22:50:45 | [Mutex] received everything. 2022-06-10 22:50:45 | [Mutex] isItemNotified: received:node:351ddd09-9236-42e6-88ac-6c273ce4d1da:localhost:node-720e6503-6d85-4570-927a-7cd9641b3dbc:Node 720e6503-6d85-4570-927a-7cd9641b3dbc :: false 2022-06-10 22:50:45 | [Mutex] waiting for: [received:nodes:01554aa6-1fb1-43cc-bb42-d12910968ba3:localhost] 2022-06-10 22:50:45 | [Mutex] received everything. 2022-06-10 22:50:45 | [Mutex] isItemNotified: received:node:01554aa6-1fb1-43cc-bb42-d12910968ba3:localhost:node-720e6503-6d85-4570-927a-7cd9641b3dbc:Node 720e6503-6d85-4570-927a-7cd9641b3dbc :: false |
publishItemsToNodes | 0.193s |
2022-06-10 22:50:42 |
2022-06-10 22:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:42 | ------------------------------------ 2022-06-10 22:50:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node><item-id>item-9f003d9a-af48-4ef4-9662-cad87e6c69d6</item-id><entry><test>item-9f003d9a-af48-4ef4-9662-cad87e6c69d6</test></entry></data> 2022-06-10 22:50:42 | 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-9f003d9a-af48-4ef4-9662-cad87e6c69d6</value></item-id></result> 2022-06-10 22:50:42 | [Mutex] waiting for: [published:item:notifieditem-9f003d9a-af48-4ef4-9662-cad87e6c69d6:admin@test-domain.com] 2022-06-10 22:50:42 | [Mutex] received everything. 2022-06-10 22:50:42 | [Mutex] isItemNotified: published:item:notifieditem-9f003d9a-af48-4ef4-9662-cad87e6c69d6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.257s |
2022-06-10 22:50:42 |
2022-06-10 22:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:42 | ------------------------------------ 2022-06-10 22:50:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node><item-id>item-9f003d9a-af48-4ef4-9662-cad87e6c69d6</item-id></data> 2022-06-10 22:50:43 | 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-9f003d9a-af48-4ef4-9662-cad87e6c69d6</value></item-id></result> 2022-06-10 22:50:43 | [Mutex] waiting for: [retracted:item:notifieditem-9f003d9a-af48-4ef4-9662-cad87e6c69d6:admin@test-domain.com] 2022-06-10 22:50:43 | [Mutex] received everything. 2022-06-10 22:50:43 | [Mutex] isItemNotified: retracted:item:notifieditem-9f003d9a-af48-4ef4-9662-cad87e6c69d6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.253s |
2022-06-10 22:50:42 |
2022-06-10 22:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:42 | ------------------------------------ 2022-06-10 22:50:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node><item-id>item-9f003d9a-af48-4ef4-9662-cad87e6c69d6</item-id></data> 2022-06-10 22:50:42 | 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-720e6503-6d85-4570-927a-7cd9641b3dbc</value></node><item-id label="Item ID" type="text-single"><value>item-9f003d9a-af48-4ef4-9662-cad87e6c69d6</value></item-id><item label="Item" type="text-multi"><value><item id="item-9f003d9a-af48-4ef4-9662-cad87e6c69d6"><test>item-9f003d9a-af48-4ef4-9662-cad87e6c69d6</test></item></value></item></result> 2022-06-10 22:50:42 | [Mutex] notify: [retrieved:item:item-9f003d9a-af48-4ef4-9662-cad87e6c69d6:payload-matches:true:localhost] 2022-06-10 22:50:42 | [Mutex] received everything. 2022-06-10 22:50:42 | [Mutex] isItemNotified: retrieved:item:item-9f003d9a-af48-4ef4-9662-cad87e6c69d6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-06-10 22:50:42 |
2022-06-10 22:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:42 | ------------------------------------ 2022-06-10 22:50:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-10 22:50:42 | 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-364bc60f-488e-4a24-aaa9-69072a3a03dc</value><value>node-720e6503-6d85-4570-927a-7cd9641b3dbc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-10 22:50:42 |
2022-06-10 22:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:42 | ------------------------------------ 2022-06-10 22:50:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-720e6503-6d85-4570-927a-7cd9641b3dbc)</node-pattern></data> 2022-06-10 22:50:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.173s |
2022-06-10 22:50:41 |
2022-06-10 22:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:41 | ------------------------------------ 2022-06-10 22:50:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-10 22:50:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.240s |
2022-06-10 22:50:43 |
2022-06-10 22:50:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-10 22:50:43 | ------------------------------------ 2022-06-10 22:50:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-720e6503-6d85-4570-927a-7cd9641b3dbc</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-10 22:50:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |