Test duration : 10.471s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2021-05-27 23:11:31 |
2021-05-27 23:11:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:31 | ------------------------------------ 2021-05-27 23:11:31 | [Mutex] waiting for: [configured:node:node-a0f5c8ed-df44-4292-8370-d263dd13502b:node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04] 2021-05-27 23:11:31 | [Mutex] received everything. 2021-05-27 23:11:31 | [Mutex] isItemNotified: configured:node:node-a0f5c8ed-df44-4292-8370-d263dd13502b:node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04 :: true 2021-05-27 23:11:32 | [Mutex] waiting for: [received:nodes:0bb93ddb-7c36-4867-8d47-68b0ca69bee6:localhost] 2021-05-27 23:11:32 | [Mutex] received everything. 2021-05-27 23:11:32 | [Mutex] isItemNotified: received:node:0bb93ddb-7c36-4867-8d47-68b0ca69bee6:localhost:node-a0f5c8ed-df44-4292-8370-d263dd13502b:Node a0f5c8ed-df44-4292-8370-d263dd13502b :: true 2021-05-27 23:11:32 | [Mutex] waiting for: [received:nodes:e5753b6c-7aa5-4cf7-94cb-4d0583bd849c:localhost] 2021-05-27 23:11:32 | [Mutex] received everything. 2021-05-27 23:11:32 | [Mutex] isItemNotified: received:node:e5753b6c-7aa5-4cf7-94cb-4d0583bd849c:localhost:node-a0f5c8ed-df44-4292-8370-d263dd13502b:Node a0f5c8ed-df44-4292-8370-d263dd13502b :: false |
createNodes | 1.755s |
2021-05-27 23:11:28 |
2021-05-27 23:11:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:28 | ------------------------------------ 2021-05-27 23:11:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a0f5c8ed-df44-4292-8370-d263dd13502b</title></pubsub></data> 2021-05-27 23:11:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 23:11:30 | [Mutex] waiting for: [received:nodes:5e51023e-628f-427c-8928-f6573b2f4062:localhost] 2021-05-27 23:11:30 | [Mutex] received everything. 2021-05-27 23:11:30 | [Mutex] isItemNotified: received:node:5e51023e-628f-427c-8928-f6573b2f4062:localhost:node-a0f5c8ed-df44-4292-8370-d263dd13502b:Node a0f5c8ed-df44-4292-8370-d263dd13502b :: true |
createSubnodes | 1.027s |
2021-05-27 23:11:30 |
2021-05-27 23:11:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:30 | ------------------------------------ 2021-05-27 23:11:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04</title></pubsub></data> 2021-05-27 23:11:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 23:11:31 | [Mutex] waiting for: [received:nodes:4c20dd21-a501-4ac1-be0e-e374fa78a120:localhost] 2021-05-27 23:11:31 | [Mutex] received everything. 2021-05-27 23:11:31 | [Mutex] isItemNotified: received:node:4c20dd21-a501-4ac1-be0e-e374fa78a120:localhost:node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04:Node 858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04 :: true |
deleteNodes | 1.020s |
2021-05-27 23:11:36 |
2021-05-27 23:11:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:36 | ------------------------------------ 2021-05-27 23:11:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04</node></data> 2021-05-27 23:11:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 23:11:38 | [Mutex] waiting for: [received:nodes:70d619c9-10a6-4f83-b6ba-e50bea7069eb:localhost] 2021-05-27 23:11:38 | [Mutex] received everything. 2021-05-27 23:11:38 | [Mutex] isItemNotified: received:node:70d619c9-10a6-4f83-b6ba-e50bea7069eb:localhost:node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04:Node 858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04 :: false |
deleteSubnodes | 1.195s |
2021-05-27 23:11:35 |
2021-05-27 23:11:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:35 | ------------------------------------ 2021-05-27 23:11:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node></data> 2021-05-27 23:11:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-27 23:11:36 | [Mutex] waiting for: [received:nodes:3aa86d56-4697-4aef-ac1b-0a7fbf9f891a:localhost] 2021-05-27 23:11:36 | [Mutex] waiting for: [received:nodes:3aa86d56-4697-4aef-ac1b-0a7fbf9f891a:localhost] 2021-05-27 23:11:36 | [Mutex] waiting for: [received:nodes:3aa86d56-4697-4aef-ac1b-0a7fbf9f891a:localhost] 2021-05-27 23:11:36 | [Mutex] received everything. 2021-05-27 23:11:36 | [Mutex] isItemNotified: received:node:3aa86d56-4697-4aef-ac1b-0a7fbf9f891a:localhost:node-a0f5c8ed-df44-4292-8370-d263dd13502b:Node a0f5c8ed-df44-4292-8370-d263dd13502b :: false 2021-05-27 23:11:36 | [Mutex] waiting for: [received:nodes:73152935-f37e-458f-863d-0a9c542e3a4b:localhost] 2021-05-27 23:11:36 | [Mutex] received everything. 2021-05-27 23:11:36 | [Mutex] isItemNotified: received:node:73152935-f37e-458f-863d-0a9c542e3a4b:localhost:node-a0f5c8ed-df44-4292-8370-d263dd13502b:Node a0f5c8ed-df44-4292-8370-d263dd13502b :: false |
publishItemsToNodes | 0.288s |
2021-05-27 23:11:33 |
2021-05-27 23:11:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:33 | ------------------------------------ 2021-05-27 23:11:33 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node><item-id>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</item-id><entry><test>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</test></entry></data> 2021-05-27 23:11:33 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</value></item-id></result> 2021-05-27 23:11:33 | [Mutex] waiting for: [published:item:notifieditem-d788b18d-60c3-4fe2-9fba-72d837fd5c3c:admin@test-domain.com] 2021-05-27 23:11:33 | [Mutex] received everything. 2021-05-27 23:11:33 | [Mutex] isItemNotified: published:item:notifieditem-d788b18d-60c3-4fe2-9fba-72d837fd5c3c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2021-05-27 23:11:34 |
2021-05-27 23:11:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:34 | ------------------------------------ 2021-05-27 23:11:34 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node><item-id>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</item-id></data> 2021-05-27 23:11:34 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</value></item-id></result> 2021-05-27 23:11:34 | [Mutex] received everything. 2021-05-27 23:11:34 | [Mutex] isItemNotified: retracted:item:notifieditem-d788b18d-60c3-4fe2-9fba-72d837fd5c3c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.345s |
2021-05-27 23:11:33 |
2021-05-27 23:11:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:33 | ------------------------------------ 2021-05-27 23:11:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node><item-id>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</item-id></data> 2021-05-27 23:11:34 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-a0f5c8ed-df44-4292-8370-d263dd13502b</value></node><item-id type="text-single" label="Item ID"><value>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</value></item-id><item type="text-multi" label="Item"><value><item id="item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c"><test>item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c</test></item></value></item></result> 2021-05-27 23:11:34 | [Mutex] notify: [retrieved:item:item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c:payload-matches:true:localhost] 2021-05-27 23:11:34 | [Mutex] received everything. 2021-05-27 23:11:34 | [Mutex] isItemNotified: retrieved:item:item-d788b18d-60c3-4fe2-9fba-72d837fd5c3c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-27 23:11:34 |
2021-05-27 23:11:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:34 | ------------------------------------ 2021-05-27 23:11:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-27 23:11:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-858eb3e2-69f0-42a3-bfc4-7b4b5e4e4b04</value><value>test</value><value>node-a0f5c8ed-df44-4292-8370-d263dd13502b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-27 23:11:34 |
2021-05-27 23:11:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:34 | ------------------------------------ 2021-05-27 23:11:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a0f5c8ed-df44-4292-8370-d263dd13502b)</node-pattern></data> 2021-05-27 23:11:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.159s |
2021-05-27 23:11:32 |
2021-05-27 23:11:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:32 | ------------------------------------ 2021-05-27 23:11:32 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-27 23:11:32 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.267s |
2021-05-27 23:11:34 |
2021-05-27 23:11:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-27 23:11:34 | ------------------------------------ 2021-05-27 23:11:34 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a0f5c8ed-df44-4292-8370-d263dd13502b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-27 23:11:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |