Test duration : 9.917s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2020-08-26 17:14:36 |
2020-08-26 17:14:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:36 | ------------------------------------ 2020-08-26 17:14:36 | [Mutex] waiting for: [configured:node:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:node-5ad788d9-7e95-4ce0-8615-b35763147ac3] 2020-08-26 17:14:36 | [Mutex] received everything. 2020-08-26 17:14:36 | [Mutex] isItemNotified: configured:node:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:node-5ad788d9-7e95-4ce0-8615-b35763147ac3 :: true 2020-08-26 17:14:37 | [Mutex] waiting for: [received:nodes:92baa23c-5487-4fb1-8efd-5c819ec9807f:localhost] 2020-08-26 17:14:37 | [Mutex] received everything. 2020-08-26 17:14:37 | [Mutex] isItemNotified: received:node:92baa23c-5487-4fb1-8efd-5c819ec9807f:localhost:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:Node dc916caa-c0ca-4535-8f5c-1491cdff3b03 :: true 2020-08-26 17:14:37 | [Mutex] waiting for: [received:nodes:b37476d6-fec2-40a3-bb1a-f7f66041cfa4:localhost] 2020-08-26 17:14:37 | [Mutex] received everything. 2020-08-26 17:14:37 | [Mutex] isItemNotified: received:node:b37476d6-fec2-40a3-bb1a-f7f66041cfa4:localhost:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:Node dc916caa-c0ca-4535-8f5c-1491cdff3b03 :: false |
createNodes | 1.369s |
2020-08-26 17:14:33 |
2020-08-26 17:14:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:33 | ------------------------------------ 2020-08-26 17:14:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dc916caa-c0ca-4535-8f5c-1491cdff3b03</title></pubsub></data> 2020-08-26 17:14:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 17:14:35 | [Mutex] waiting for: [received:nodes:c329d476-8820-4b09-8899-4929c8c679e4:localhost] 2020-08-26 17:14:35 | [Mutex] received everything. 2020-08-26 17:14:35 | [Mutex] isItemNotified: received:node:c329d476-8820-4b09-8899-4929c8c679e4:localhost:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:Node dc916caa-c0ca-4535-8f5c-1491cdff3b03 :: true |
createSubnodes | 1.023s |
2020-08-26 17:14:35 |
2020-08-26 17:14:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:35 | ------------------------------------ 2020-08-26 17:14:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5ad788d9-7e95-4ce0-8615-b35763147ac3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5ad788d9-7e95-4ce0-8615-b35763147ac3</title></pubsub></data> 2020-08-26 17:14:35 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 17:14:36 | [Mutex] waiting for: [received:nodes:5f158504-0b5b-4d2a-b2df-3f7178b3e18a:localhost] 2020-08-26 17:14:36 | [Mutex] received everything. 2020-08-26 17:14:36 | [Mutex] isItemNotified: received:node:5f158504-0b5b-4d2a-b2df-3f7178b3e18a:localhost:node-5ad788d9-7e95-4ce0-8615-b35763147ac3:Node 5ad788d9-7e95-4ce0-8615-b35763147ac3 :: true |
deleteNodes | 1.019s |
2020-08-26 17:14:41 |
2020-08-26 17:14:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:41 | ------------------------------------ 2020-08-26 17:14:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5ad788d9-7e95-4ce0-8615-b35763147ac3</node></data> 2020-08-26 17:14:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 17:14:42 | [Mutex] waiting for: [received:nodes:ac2f14ce-0e2d-414f-afa1-7632e690cb91:localhost] 2020-08-26 17:14:42 | [Mutex] received everything. 2020-08-26 17:14:42 | [Mutex] isItemNotified: received:node:ac2f14ce-0e2d-414f-afa1-7632e690cb91:localhost:node-5ad788d9-7e95-4ce0-8615-b35763147ac3:Node 5ad788d9-7e95-4ce0-8615-b35763147ac3 :: false |
deleteSubnodes | 1.137s |
2020-08-26 17:14:40 |
2020-08-26 17:14:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:40 | ------------------------------------ 2020-08-26 17:14:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node></data> 2020-08-26 17:14:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-26 17:14:41 | [Mutex] waiting for: [received:nodes:674ee40f-a03a-4d46-8a19-494a6c4f3106:localhost] 2020-08-26 17:14:41 | [Mutex] waiting for: [received:nodes:674ee40f-a03a-4d46-8a19-494a6c4f3106:localhost] 2020-08-26 17:14:41 | [Mutex] waiting for: [received:nodes:674ee40f-a03a-4d46-8a19-494a6c4f3106:localhost] 2020-08-26 17:14:41 | [Mutex] received everything. 2020-08-26 17:14:41 | [Mutex] isItemNotified: received:node:674ee40f-a03a-4d46-8a19-494a6c4f3106:localhost:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:Node dc916caa-c0ca-4535-8f5c-1491cdff3b03 :: false 2020-08-26 17:14:41 | [Mutex] waiting for: [received:nodes:3aebec8a-8478-4045-aade-33340cc69ce7:localhost] 2020-08-26 17:14:41 | [Mutex] received everything. 2020-08-26 17:14:41 | [Mutex] isItemNotified: received:node:3aebec8a-8478-4045-aade-33340cc69ce7:localhost:node-dc916caa-c0ca-4535-8f5c-1491cdff3b03:Node dc916caa-c0ca-4535-8f5c-1491cdff3b03 :: false |
publishItemsToNodes | 0.209s |
2020-08-26 17:14:38 |
2020-08-26 17:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:38 | ------------------------------------ 2020-08-26 17:14:38 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node><item-id>item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</item-id><entry><test>item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</test></entry></data> 2020-08-26 17:14:38 | 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-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</value></item-id></result> 2020-08-26 17:14:38 | [Mutex] waiting for: [published:item:notifieditem-34cb1c3a-b5bf-4207-b204-9aa58e016f8f:admin@test-domain.com] 2020-08-26 17:14:38 | [Mutex] received everything. 2020-08-26 17:14:38 | [Mutex] isItemNotified: published:item:notifieditem-34cb1c3a-b5bf-4207-b204-9aa58e016f8f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2020-08-26 17:14:38 |
2020-08-26 17:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:38 | ------------------------------------ 2020-08-26 17:14:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node><item-id>item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</item-id></data> 2020-08-26 17:14:39 | 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-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</value></item-id></result> 2020-08-26 17:14:39 | [Mutex] received everything. 2020-08-26 17:14:39 | [Mutex] isItemNotified: retracted:item:notifieditem-34cb1c3a-b5bf-4207-b204-9aa58e016f8f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.303s |
2020-08-26 17:14:38 |
2020-08-26 17:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:38 | ------------------------------------ 2020-08-26 17:14:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node><item-id>item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</item-id></data> 2020-08-26 17:14:38 | 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-dc916caa-c0ca-4535-8f5c-1491cdff3b03</value></node><item-id label="Item ID" type="text-single"><value>item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</value></item-id><item label="Item" type="text-multi"><value><item id="item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f"><test>item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f</test></item></value></item></result> 2020-08-26 17:14:38 | [Mutex] notify: [retrieved:item:item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f:payload-matches:true:localhost] 2020-08-26 17:14:38 | [Mutex] received everything. 2020-08-26 17:14:38 | [Mutex] isItemNotified: retrieved:item:item-34cb1c3a-b5bf-4207-b204-9aa58e016f8f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2020-08-26 17:14:38 |
2020-08-26 17:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:38 | ------------------------------------ 2020-08-26 17:14:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-26 17:14:38 | 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-dc916caa-c0ca-4535-8f5c-1491cdff3b03</value><value>node-5ad788d9-7e95-4ce0-8615-b35763147ac3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-08-26 17:14:38 |
2020-08-26 17:14:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:38 | ------------------------------------ 2020-08-26 17:14:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dc916caa-c0ca-4535-8f5c-1491cdff3b03)</node-pattern></data> 2020-08-26 17:14:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.121s |
2020-08-26 17:14:37 |
2020-08-26 17:14:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:37 | ------------------------------------ 2020-08-26 17:14:37 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-26 17:14:37 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2020-08-26 17:14:39 |
2020-08-26 17:14:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-26 17:14:39 | ------------------------------------ 2020-08-26 17:14:39 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-dc916caa-c0ca-4535-8f5c-1491cdff3b03</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-26 17:14:39 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |