Test duration : 9.633s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2022-05-24 22:39:57 |
2022-05-24 22:39:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:39:57 | ------------------------------------ 2022-05-24 22:39:57 | [Mutex] waiting for: [configured:node:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:node-d63cea76-c9b1-4452-8812-3c534d2ed6c1] 2022-05-24 22:39:57 | [Mutex] received everything. 2022-05-24 22:39:57 | [Mutex] isItemNotified: configured:node:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:node-d63cea76-c9b1-4452-8812-3c534d2ed6c1 :: true 2022-05-24 22:39:58 | [Mutex] waiting for: [received:nodes:157c1ea1-a4ae-4371-bf94-fcbddd2d8750:localhost] 2022-05-24 22:39:58 | [Mutex] received everything. 2022-05-24 22:39:58 | [Mutex] isItemNotified: received:node:157c1ea1-a4ae-4371-bf94-fcbddd2d8750:localhost:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:Node e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed :: true 2022-05-24 22:39:58 | [Mutex] waiting for: [received:nodes:5d43554a-6882-48b9-9604-1a8093ffcdea:localhost] 2022-05-24 22:39:58 | [Mutex] waiting for: [received:nodes:5d43554a-6882-48b9-9604-1a8093ffcdea:localhost] 2022-05-24 22:39:58 | [Mutex] received everything. 2022-05-24 22:39:58 | [Mutex] isItemNotified: received:node:5d43554a-6882-48b9-9604-1a8093ffcdea:localhost:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:Node e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed :: false |
createNodes | 1.461s |
2022-05-24 22:39:55 |
2022-05-24 22:39:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:39:55 | ------------------------------------ 2022-05-24 22:39:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</title></pubsub></data> 2022-05-24 22:39:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 22:39:56 | [Mutex] waiting for: [received:nodes:03adda9a-1173-41d4-bdcf-d49f7b9a7d21:localhost] 2022-05-24 22:39:56 | [Mutex] received everything. 2022-05-24 22:39:56 | [Mutex] isItemNotified: received:node:03adda9a-1173-41d4-bdcf-d49f7b9a7d21:localhost:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:Node e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed :: true |
createSubnodes | 1.031s |
2022-05-24 22:39:56 |
2022-05-24 22:39:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:39:56 | ------------------------------------ 2022-05-24 22:39:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d63cea76-c9b1-4452-8812-3c534d2ed6c1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d63cea76-c9b1-4452-8812-3c534d2ed6c1</title></pubsub></data> 2022-05-24 22:39:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 22:39:57 | [Mutex] waiting for: [received:nodes:10d665db-ab09-48c0-85fd-233ed5521e92:localhost] 2022-05-24 22:39:57 | [Mutex] received everything. 2022-05-24 22:39:57 | [Mutex] isItemNotified: received:node:10d665db-ab09-48c0-85fd-233ed5521e92:localhost:node-d63cea76-c9b1-4452-8812-3c534d2ed6c1:Node d63cea76-c9b1-4452-8812-3c534d2ed6c1 :: true |
deleteNodes | 1.024s |
2022-05-24 22:40:03 |
2022-05-24 22:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:03 | ------------------------------------ 2022-05-24 22:40:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d63cea76-c9b1-4452-8812-3c534d2ed6c1</node></data> 2022-05-24 22:40:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 22:40:04 | [Mutex] waiting for: [received:nodes:29fb3b43-3656-47da-8bc2-bcd064d1364e:localhost] 2022-05-24 22:40:04 | [Mutex] waiting for: [received:nodes:29fb3b43-3656-47da-8bc2-bcd064d1364e:localhost] 2022-05-24 22:40:04 | [Mutex] received everything. 2022-05-24 22:40:04 | [Mutex] isItemNotified: received:node:29fb3b43-3656-47da-8bc2-bcd064d1364e:localhost:node-d63cea76-c9b1-4452-8812-3c534d2ed6c1:Node d63cea76-c9b1-4452-8812-3c534d2ed6c1 :: false |
deleteSubnodes | 1.141s |
2022-05-24 22:40:02 |
2022-05-24 22:40:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:02 | ------------------------------------ 2022-05-24 22:40:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node></data> 2022-05-24 22:40:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-24 22:40:03 | [Mutex] waiting for: [received:nodes:1224a691-924e-4857-8c15-e898b6cdab7a:localhost] 2022-05-24 22:40:03 | [Mutex] waiting for: [received:nodes:1224a691-924e-4857-8c15-e898b6cdab7a:localhost] 2022-05-24 22:40:03 | [Mutex] waiting for: [received:nodes:1224a691-924e-4857-8c15-e898b6cdab7a:localhost] 2022-05-24 22:40:03 | [Mutex] waiting for: [received:nodes:1224a691-924e-4857-8c15-e898b6cdab7a:localhost] 2022-05-24 22:40:03 | [Mutex] received everything. 2022-05-24 22:40:03 | [Mutex] isItemNotified: received:node:1224a691-924e-4857-8c15-e898b6cdab7a:localhost:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:Node e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed :: false 2022-05-24 22:40:03 | [Mutex] waiting for: [received:nodes:21f25043-98af-416c-8287-16b5470c5360:localhost] 2022-05-24 22:40:03 | [Mutex] received everything. 2022-05-24 22:40:03 | [Mutex] isItemNotified: received:node:21f25043-98af-416c-8287-16b5470c5360:localhost:node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed:Node e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed :: false |
publishItemsToNodes | 0.216s |
2022-05-24 22:40:00 |
2022-05-24 22:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:00 | ------------------------------------ 2022-05-24 22:40:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node><item-id>item-ce857780-2aef-4db3-afb3-9f3f0c837378</item-id><entry><test>item-ce857780-2aef-4db3-afb3-9f3f0c837378</test></entry></data> 2022-05-24 22:40: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-ce857780-2aef-4db3-afb3-9f3f0c837378</value></item-id></result> 2022-05-24 22:40:00 | [Mutex] waiting for: [published:item:notifieditem-ce857780-2aef-4db3-afb3-9f3f0c837378:admin@test-domain.com] 2022-05-24 22:40:00 | [Mutex] received everything. 2022-05-24 22:40:00 | [Mutex] isItemNotified: published:item:notifieditem-ce857780-2aef-4db3-afb3-9f3f0c837378:admin@test-domain.com :: true |
retractItemsFromNodes | 0.363s |
2022-05-24 22:40:00 |
2022-05-24 22:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:00 | ------------------------------------ 2022-05-24 22:40:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node><item-id>item-ce857780-2aef-4db3-afb3-9f3f0c837378</item-id></data> 2022-05-24 22:40:00 | 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-ce857780-2aef-4db3-afb3-9f3f0c837378</value></item-id></result> 2022-05-24 22:40:00 | [Mutex] received everything. 2022-05-24 22:40:00 | [Mutex] isItemNotified: retracted:item:notifieditem-ce857780-2aef-4db3-afb3-9f3f0c837378:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.281s |
2022-05-24 22:40:00 |
2022-05-24 22:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:00 | ------------------------------------ 2022-05-24 22:40:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node><item-id>item-ce857780-2aef-4db3-afb3-9f3f0c837378</item-id></data> 2022-05-24 22:40:00 | 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-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</value></node><item-id label="Item ID" type="text-single"><value>item-ce857780-2aef-4db3-afb3-9f3f0c837378</value></item-id><item label="Item" type="text-multi"><value><item id="item-ce857780-2aef-4db3-afb3-9f3f0c837378"><test>item-ce857780-2aef-4db3-afb3-9f3f0c837378</test></item></value></item></result> 2022-05-24 22:40:00 | [Mutex] notify: [retrieved:item:item-ce857780-2aef-4db3-afb3-9f3f0c837378:payload-matches:true:localhost] 2022-05-24 22:40:00 | [Mutex] received everything. 2022-05-24 22:40:00 | [Mutex] isItemNotified: retrieved:item:item-ce857780-2aef-4db3-afb3-9f3f0c837378:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-24 22:40:00 |
2022-05-24 22:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:00 | ------------------------------------ 2022-05-24 22:40:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-24 22:40:00 | 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-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</value><value>node-d63cea76-c9b1-4452-8812-3c534d2ed6c1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-24 22:40:00 |
2022-05-24 22:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:00 | ------------------------------------ 2022-05-24 22:40:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed)</node-pattern></data> 2022-05-24 22:40:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.119s |
2022-05-24 22:39:58 |
2022-05-24 22:39:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:39:58 | ------------------------------------ 2022-05-24 22:39:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-24 22:39: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.151s |
2022-05-24 22:40:00 |
2022-05-24 22:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-24 22:40:00 | ------------------------------------ 2022-05-24 22:40:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e35dc0ff-c0ed-491f-b3ce-44cb9531d5ed</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-24 22:40:01 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |