Test duration : 9.979s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2021-02-14 22:00:54 |
2021-02-14 22:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:54 | ------------------------------------ 2021-02-14 22:00:54 | [Mutex] waiting for: [configured:node:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c] 2021-02-14 22:00:54 | [Mutex] received everything. 2021-02-14 22:00:54 | [Mutex] isItemNotified: configured:node:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c :: true 2021-02-14 22:00:55 | [Mutex] waiting for: [received:nodes:74d0f5a5-d7a4-4bfd-9cd0-ebe29b9eca72:localhost] 2021-02-14 22:00:55 | [Mutex] received everything. 2021-02-14 22:00:55 | [Mutex] isItemNotified: received:node:74d0f5a5-d7a4-4bfd-9cd0-ebe29b9eca72:localhost:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:Node aaa78fc9-a0d7-48a9-95e2-ca661b9ec934 :: true 2021-02-14 22:00:55 | [Mutex] waiting for: [received:nodes:0e48ac70-7a2b-40cc-98da-8ca9e3560969:localhost] 2021-02-14 22:00:55 | [Mutex] received everything. 2021-02-14 22:00:55 | [Mutex] isItemNotified: received:node:0e48ac70-7a2b-40cc-98da-8ca9e3560969:localhost:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:Node aaa78fc9-a0d7-48a9-95e2-ca661b9ec934 :: false |
createNodes | 1.434s |
2021-02-14 22:00:51 |
2021-02-14 22:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:51 | ------------------------------------ 2021-02-14 22:00:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</title></pubsub></data> 2021-02-14 22:00:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 22:00:53 | [Mutex] waiting for: [received:nodes:376715e9-5849-43ad-9f30-bc6a78bf1149:localhost] 2021-02-14 22:00:53 | [Mutex] received everything. 2021-02-14 22:00:53 | [Mutex] isItemNotified: received:node:376715e9-5849-43ad-9f30-bc6a78bf1149:localhost:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:Node aaa78fc9-a0d7-48a9-95e2-ca661b9ec934 :: true |
createSubnodes | 1.024s |
2021-02-14 22:00:53 |
2021-02-14 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:53 | ------------------------------------ 2021-02-14 22:00:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c</title></pubsub></data> 2021-02-14 22:00:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 22:00:54 | [Mutex] waiting for: [received:nodes:b8f192f0-9cc8-4911-bf03-e217b07d28b2:localhost] 2021-02-14 22:00:54 | [Mutex] received everything. 2021-02-14 22:00:54 | [Mutex] isItemNotified: received:node:b8f192f0-9cc8-4911-bf03-e217b07d28b2:localhost:node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c:Node 37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c :: true |
deleteNodes | 1.020s |
2021-02-14 22:00:59 |
2021-02-14 22:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:59 | ------------------------------------ 2021-02-14 22:00:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c</node></data> 2021-02-14 22:00:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 22:01:00 | [Mutex] waiting for: [received:nodes:55085cc1-d588-4f40-8831-376911fd1611:localhost] 2021-02-14 22:01:00 | [Mutex] waiting for: [received:nodes:55085cc1-d588-4f40-8831-376911fd1611:localhost] 2021-02-14 22:01:00 | [Mutex] waiting for: [received:nodes:55085cc1-d588-4f40-8831-376911fd1611:localhost] 2021-02-14 22:01:00 | [Mutex] received everything. 2021-02-14 22:01:00 | [Mutex] isItemNotified: received:node:55085cc1-d588-4f40-8831-376911fd1611:localhost:node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c:Node 37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c :: false |
deleteSubnodes | 1.133s |
2021-02-14 22:00:58 |
2021-02-14 22:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:58 | ------------------------------------ 2021-02-14 22:00:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node></data> 2021-02-14 22:00:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-14 22:00:59 | [Mutex] waiting for: [received:nodes:f54430d3-8e0e-412f-bbe1-3ce9e41aa0b2:localhost] 2021-02-14 22:00:59 | [Mutex] waiting for: [received:nodes:f54430d3-8e0e-412f-bbe1-3ce9e41aa0b2:localhost] 2021-02-14 22:00:59 | [Mutex] received everything. 2021-02-14 22:00:59 | [Mutex] isItemNotified: received:node:f54430d3-8e0e-412f-bbe1-3ce9e41aa0b2:localhost:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:Node aaa78fc9-a0d7-48a9-95e2-ca661b9ec934 :: false 2021-02-14 22:00:59 | [Mutex] waiting for: [received:nodes:2f071c9d-7709-4924-ae34-9dc0aad455ac:localhost] 2021-02-14 22:00:59 | [Mutex] received everything. 2021-02-14 22:00:59 | [Mutex] isItemNotified: received:node:2f071c9d-7709-4924-ae34-9dc0aad455ac:localhost:node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934:Node aaa78fc9-a0d7-48a9-95e2-ca661b9ec934 :: false |
publishItemsToNodes | 0.204s |
2021-02-14 22:00:56 |
2021-02-14 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:56 | ------------------------------------ 2021-02-14 22:00:56 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node><item-id>item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</item-id><entry><test>item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</test></entry></data> 2021-02-14 22:00:56 | 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-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</value></item-id></result> 2021-02-14 22:00:56 | [Mutex] waiting for: [published:item:notifieditem-5c0b5dce-cd7d-4407-a99c-02d50888a0ed:admin@test-domain.com] 2021-02-14 22:00:56 | [Mutex] received everything. 2021-02-14 22:00:56 | [Mutex] isItemNotified: published:item:notifieditem-5c0b5dce-cd7d-4407-a99c-02d50888a0ed:admin@test-domain.com :: true |
retractItemsFromNodes | 0.304s |
2021-02-14 22:00:56 |
2021-02-14 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:56 | ------------------------------------ 2021-02-14 22:00:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node><item-id>item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</item-id></data> 2021-02-14 22:00:57 | 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-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</value></item-id></result> 2021-02-14 22:00:57 | [Mutex] received everything. 2021-02-14 22:00:57 | [Mutex] isItemNotified: retracted:item:notifieditem-5c0b5dce-cd7d-4407-a99c-02d50888a0ed:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.230s |
2021-02-14 22:00:56 |
2021-02-14 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:56 | ------------------------------------ 2021-02-14 22:00:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node><item-id>item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</item-id></data> 2021-02-14 22:00:56 | 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-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</value></node><item-id label="Item ID" type="text-single"><value>item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</value></item-id><item label="Item" type="text-multi"><value><item id="item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed"><test>item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed</test></item></value></item></result> 2021-02-14 22:00:56 | [Mutex] notify: [retrieved:item:item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed:payload-matches:true:localhost] 2021-02-14 22:00:56 | [Mutex] received everything. 2021-02-14 22:00:56 | [Mutex] isItemNotified: retrieved:item:item-5c0b5dce-cd7d-4407-a99c-02d50888a0ed:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-02-14 22:00:56 |
2021-02-14 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:56 | ------------------------------------ 2021-02-14 22:00:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-14 22:00:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</value><value>test</value><value>node-37b11eb6-b8d7-49a8-9a5c-96d9efa2e43c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-02-14 22:00:56 |
2021-02-14 22:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:56 | ------------------------------------ 2021-02-14 22:00:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934)</node-pattern></data> 2021-02-14 22:00:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2021-02-14 22:00:55 |
2021-02-14 22:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:55 | ------------------------------------ 2021-02-14 22:00:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-14 22:00:55 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.328s |
2021-02-14 22:00:57 |
2021-02-14 22:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-14 22:00:57 | ------------------------------------ 2021-02-14 22:00:57 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-aaa78fc9-a0d7-48a9-95e2-ca661b9ec934</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-14 22:00:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |