Generated by TestNG with ReportNG at 21:13 PST on Tuesday 29 December 2020
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.809s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.088s
2020-12-29 21:28:28 |

2020-12-29 21:28:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:28 | ------------------------------------

2020-12-29 21:28:28 | [Mutex] waiting for: [configured:node:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:node-9c304341-e0f5-4050-939d-5afeb2fd37cd]

2020-12-29 21:28:28 | [Mutex] received everything.

2020-12-29 21:28:28 | [Mutex] isItemNotified: configured:node:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:node-9c304341-e0f5-4050-939d-5afeb2fd37cd :: true

2020-12-29 21:28:29 | [Mutex] waiting for: [received:nodes:04158e5f-f43a-4191-a5af-db4eb1029f88:localhost]

2020-12-29 21:28:29 | [Mutex] received everything.

2020-12-29 21:28:29 | [Mutex] isItemNotified: received:node:04158e5f-f43a-4191-a5af-db4eb1029f88:localhost:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:Node 5f22779f-d7a0-4862-9d26-a793a2d8d18b :: true

2020-12-29 21:28:29 | [Mutex] waiting for: [received:nodes:35b21b96-8559-47d2-b882-282cef4d223a:localhost]

2020-12-29 21:28:29 | [Mutex] received everything.

2020-12-29 21:28:29 | [Mutex] isItemNotified: received:node:35b21b96-8559-47d2-b882-282cef4d223a:localhost:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:Node 5f22779f-d7a0-4862-9d26-a793a2d8d18b :: false

createNodes 1.394s
2020-12-29 21:28:25 |

2020-12-29 21:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:25 | ------------------------------------

2020-12-29 21:28:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5f22779f-d7a0-4862-9d26-a793a2d8d18b</title></pubsub></data>

2020-12-29 21:28:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:28:27 | [Mutex] waiting for: [received:nodes:42c83eb6-f07b-43e4-ab1c-3e4a2565a576:localhost]

2020-12-29 21:28:27 | [Mutex] received everything.

2020-12-29 21:28:27 | [Mutex] isItemNotified: received:node:42c83eb6-f07b-43e4-ab1c-3e4a2565a576:localhost:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:Node 5f22779f-d7a0-4862-9d26-a793a2d8d18b :: true

createSubnodes 1.026s
2020-12-29 21:28:27 |

2020-12-29 21:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:27 | ------------------------------------

2020-12-29 21:28:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9c304341-e0f5-4050-939d-5afeb2fd37cd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9c304341-e0f5-4050-939d-5afeb2fd37cd</title></pubsub></data>

2020-12-29 21:28:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:28:28 | [Mutex] waiting for: [received:nodes:cc08460a-76ae-4263-9977-589c98965c30:localhost]

2020-12-29 21:28:28 | [Mutex] waiting for: [received:nodes:cc08460a-76ae-4263-9977-589c98965c30:localhost]

2020-12-29 21:28:28 | [Mutex] received everything.

2020-12-29 21:28:28 | [Mutex] isItemNotified: received:node:cc08460a-76ae-4263-9977-589c98965c30:localhost:node-9c304341-e0f5-4050-939d-5afeb2fd37cd:Node 9c304341-e0f5-4050-939d-5afeb2fd37cd :: true

deleteNodes 1.017s
2020-12-29 21:28:33 |

2020-12-29 21:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:33 | ------------------------------------

2020-12-29 21:28:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9c304341-e0f5-4050-939d-5afeb2fd37cd</node></data>

2020-12-29 21:28:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:28:34 | [Mutex] waiting for: [received:nodes:e84dbe78-cfc3-4412-b6eb-3a9fb9bc5ea1:localhost]

2020-12-29 21:28:34 | [Mutex] received everything.

2020-12-29 21:28:34 | [Mutex] isItemNotified: received:node:e84dbe78-cfc3-4412-b6eb-3a9fb9bc5ea1:localhost:node-9c304341-e0f5-4050-939d-5afeb2fd37cd:Node 9c304341-e0f5-4050-939d-5afeb2fd37cd :: false

deleteSubnodes 1.124s
2020-12-29 21:28:32 |

2020-12-29 21:28:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:32 | ------------------------------------

2020-12-29 21:28:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node></data>

2020-12-29 21:28:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-29 21:28:33 | [Mutex] waiting for: [received:nodes:cc4855dd-57c6-4744-90f1-9d450cbd48df:localhost]

2020-12-29 21:28:33 | [Mutex] waiting for: [received:nodes:cc4855dd-57c6-4744-90f1-9d450cbd48df:localhost]

2020-12-29 21:28:33 | [Mutex] received everything.

2020-12-29 21:28:33 | [Mutex] isItemNotified: received:node:cc4855dd-57c6-4744-90f1-9d450cbd48df:localhost:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:Node 5f22779f-d7a0-4862-9d26-a793a2d8d18b :: false

2020-12-29 21:28:33 | [Mutex] waiting for: [received:nodes:aa987a8c-174b-48ff-9557-6f3e3a29b33f:localhost]

2020-12-29 21:28:33 | [Mutex] received everything.

2020-12-29 21:28:33 | [Mutex] isItemNotified: received:node:aa987a8c-174b-48ff-9557-6f3e3a29b33f:localhost:node-5f22779f-d7a0-4862-9d26-a793a2d8d18b:Node 5f22779f-d7a0-4862-9d26-a793a2d8d18b :: false

publishItemsToNodes 0.244s
2020-12-29 21:28:30 |

2020-12-29 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:30 | ------------------------------------

2020-12-29 21:28:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node><item-id>item-cbf54c25-aa42-4683-b141-dac22f8a0da4</item-id><entry><test>item-cbf54c25-aa42-4683-b141-dac22f8a0da4</test></entry></data>

2020-12-29 21:28:30 | 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-cbf54c25-aa42-4683-b141-dac22f8a0da4</value></item-id></result>

2020-12-29 21:28:30 | [Mutex] waiting for: [published:item:notifieditem-cbf54c25-aa42-4683-b141-dac22f8a0da4:admin@test-domain.com]

2020-12-29 21:28:30 | [Mutex] received everything.

2020-12-29 21:28:30 | [Mutex] isItemNotified: published:item:notifieditem-cbf54c25-aa42-4683-b141-dac22f8a0da4:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2020-12-29 21:28:31 |

2020-12-29 21:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:31 | ------------------------------------

2020-12-29 21:28:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node><item-id>item-cbf54c25-aa42-4683-b141-dac22f8a0da4</item-id></data>

2020-12-29 21:28:31 | 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-cbf54c25-aa42-4683-b141-dac22f8a0da4</value></item-id></result>

2020-12-29 21:28:31 | [Mutex] received everything.

2020-12-29 21:28:31 | [Mutex] isItemNotified: retracted:item:notifieditem-cbf54c25-aa42-4683-b141-dac22f8a0da4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.125s
2020-12-29 21:28:30 |

2020-12-29 21:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:30 | ------------------------------------

2020-12-29 21:28:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node><item-id>item-cbf54c25-aa42-4683-b141-dac22f8a0da4</item-id></data>

2020-12-29 21:28:31 | 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-5f22779f-d7a0-4862-9d26-a793a2d8d18b</value></node><item-id label="Item ID" type="text-single"><value>item-cbf54c25-aa42-4683-b141-dac22f8a0da4</value></item-id><item label="Item" type="text-multi"><value><item id="item-cbf54c25-aa42-4683-b141-dac22f8a0da4"><test>item-cbf54c25-aa42-4683-b141-dac22f8a0da4</test></item></value></item></result>

2020-12-29 21:28:31 | [Mutex] notify: [retrieved:item:item-cbf54c25-aa42-4683-b141-dac22f8a0da4:payload-matches:true:localhost]

2020-12-29 21:28:31 | [Mutex] received everything.

2020-12-29 21:28:31 | [Mutex] isItemNotified: retrieved:item:item-cbf54c25-aa42-4683-b141-dac22f8a0da4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2020-12-29 21:28:31 |

2020-12-29 21:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:31 | ------------------------------------

2020-12-29 21:28:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-29 21:28:31 | 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-9c304341-e0f5-4050-939d-5afeb2fd37cd</value><value>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-12-29 21:28:31 |

2020-12-29 21:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:31 | ------------------------------------

2020-12-29 21:28:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5f22779f-d7a0-4862-9d26-a793a2d8d18b)</node-pattern></data>

2020-12-29 21:28:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.133s
2020-12-29 21:28:29 |

2020-12-29 21:28:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:29 | ------------------------------------

2020-12-29 21:28:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:28:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.296s
2020-12-29 21:28:31 |

2020-12-29 21:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:31 | ------------------------------------

2020-12-29 21:28:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5f22779f-d7a0-4862-9d26-a793a2d8d18b</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:28:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>