Generated by TestNG with ReportNG at 21:10 PST on Tuesday 23 February 2021
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 : 10.101s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2021-02-23 21:28:02 |

2021-02-23 21:28:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:02 | ------------------------------------

2021-02-23 21:28:02 | [Mutex] waiting for: [configured:node:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:node-7eb23d44-9fd2-4806-9d29-8348b00362f6]

2021-02-23 21:28:02 | [Mutex] received everything.

2021-02-23 21:28:02 | [Mutex] isItemNotified: configured:node:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:node-7eb23d44-9fd2-4806-9d29-8348b00362f6 :: true

2021-02-23 21:28:03 | [Mutex] waiting for: [received:nodes:7438eb00-08ab-4753-bf65-1ec9d0339370:localhost]

2021-02-23 21:28:03 | [Mutex] received everything.

2021-02-23 21:28:03 | [Mutex] isItemNotified: received:node:7438eb00-08ab-4753-bf65-1ec9d0339370:localhost:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:Node 4effa27a-65dd-43c4-a11f-3f4585af1d9f :: true

2021-02-23 21:28:03 | [Mutex] waiting for: [received:nodes:26df19c6-3858-44c2-8b5d-2281a73e3ef6:localhost]

2021-02-23 21:28:03 | [Mutex] waiting for: [received:nodes:26df19c6-3858-44c2-8b5d-2281a73e3ef6:localhost]

2021-02-23 21:28:03 | [Mutex] waiting for: [received:nodes:26df19c6-3858-44c2-8b5d-2281a73e3ef6:localhost]

2021-02-23 21:28:03 | [Mutex] received everything.

2021-02-23 21:28:03 | [Mutex] isItemNotified: received:node:26df19c6-3858-44c2-8b5d-2281a73e3ef6:localhost:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:Node 4effa27a-65dd-43c4-a11f-3f4585af1d9f :: false

createNodes 1.487s
2021-02-23 21:27:59 |

2021-02-23 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:27:59 | ------------------------------------

2021-02-23 21:27:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4effa27a-65dd-43c4-a11f-3f4585af1d9f</title></pubsub></data>

2021-02-23 21:28:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:28:01 | [Mutex] waiting for: [received:nodes:d565096c-28ca-4a30-87e3-f948b55817a0:localhost]

2021-02-23 21:28:01 | [Mutex] received everything.

2021-02-23 21:28:01 | [Mutex] isItemNotified: received:node:d565096c-28ca-4a30-87e3-f948b55817a0:localhost:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:Node 4effa27a-65dd-43c4-a11f-3f4585af1d9f :: true

createSubnodes 1.021s
2021-02-23 21:28:01 |

2021-02-23 21:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:01 | ------------------------------------

2021-02-23 21:28:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7eb23d44-9fd2-4806-9d29-8348b00362f6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7eb23d44-9fd2-4806-9d29-8348b00362f6</title></pubsub></data>

2021-02-23 21:28:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:28:02 | [Mutex] waiting for: [received:nodes:25593ca5-d803-45d9-a379-1d492c99dd53:localhost]

2021-02-23 21:28:02 | [Mutex] received everything.

2021-02-23 21:28:02 | [Mutex] isItemNotified: received:node:25593ca5-d803-45d9-a379-1d492c99dd53:localhost:node-7eb23d44-9fd2-4806-9d29-8348b00362f6:Node 7eb23d44-9fd2-4806-9d29-8348b00362f6 :: true

deleteNodes 1.017s
2021-02-23 21:28:07 |

2021-02-23 21:28:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:07 | ------------------------------------

2021-02-23 21:28:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7eb23d44-9fd2-4806-9d29-8348b00362f6</node></data>

2021-02-23 21:28:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:28:08 | [Mutex] waiting for: [received:nodes:628f01a2-11d3-4a9e-acfb-cbe4c945fd51:localhost]

2021-02-23 21:28:08 | [Mutex] waiting for: [received:nodes:628f01a2-11d3-4a9e-acfb-cbe4c945fd51:localhost]

2021-02-23 21:28:08 | [Mutex] received everything.

2021-02-23 21:28:08 | [Mutex] isItemNotified: received:node:628f01a2-11d3-4a9e-acfb-cbe4c945fd51:localhost:node-7eb23d44-9fd2-4806-9d29-8348b00362f6:Node 7eb23d44-9fd2-4806-9d29-8348b00362f6 :: false

deleteSubnodes 1.120s
2021-02-23 21:28:06 |

2021-02-23 21:28:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:06 | ------------------------------------

2021-02-23 21:28:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node></data>

2021-02-23 21:28:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-23 21:28:07 | [Mutex] waiting for: [received:nodes:f5597adb-f204-4735-8d9c-99f3d29ed13e:localhost]

2021-02-23 21:28:07 | [Mutex] received everything.

2021-02-23 21:28:07 | [Mutex] isItemNotified: received:node:f5597adb-f204-4735-8d9c-99f3d29ed13e:localhost:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:Node 4effa27a-65dd-43c4-a11f-3f4585af1d9f :: false

2021-02-23 21:28:07 | [Mutex] waiting for: [received:nodes:0948f53d-c332-44e8-89e7-df2e9e5a5a84:localhost]

2021-02-23 21:28:07 | [Mutex] received everything.

2021-02-23 21:28:07 | [Mutex] isItemNotified: received:node:0948f53d-c332-44e8-89e7-df2e9e5a5a84:localhost:node-4effa27a-65dd-43c4-a11f-3f4585af1d9f:Node 4effa27a-65dd-43c4-a11f-3f4585af1d9f :: false

publishItemsToNodes 0.183s
2021-02-23 21:28:04 |

2021-02-23 21:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:04 | ------------------------------------

2021-02-23 21:28:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node><item-id>item-6a695d4c-e635-4dd3-a78b-3a9948797db8</item-id><entry><test>item-6a695d4c-e635-4dd3-a78b-3a9948797db8</test></entry></data>

2021-02-23 21:28:04 | 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-6a695d4c-e635-4dd3-a78b-3a9948797db8</value></item-id></result>

2021-02-23 21:28:04 | [Mutex] received everything.

2021-02-23 21:28:04 | [Mutex] isItemNotified: published:item:notifieditem-6a695d4c-e635-4dd3-a78b-3a9948797db8:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-02-23 21:28:04 |

2021-02-23 21:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:04 | ------------------------------------

2021-02-23 21:28:04 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node><item-id>item-6a695d4c-e635-4dd3-a78b-3a9948797db8</item-id></data>

2021-02-23 21:28:05 | 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-6a695d4c-e635-4dd3-a78b-3a9948797db8</value></item-id></result>

2021-02-23 21:28:05 | [Mutex] received everything.

2021-02-23 21:28:05 | [Mutex] isItemNotified: retracted:item:notifieditem-6a695d4c-e635-4dd3-a78b-3a9948797db8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2021-02-23 21:28:04 |

2021-02-23 21:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:04 | ------------------------------------

2021-02-23 21:28:04 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node><item-id>item-6a695d4c-e635-4dd3-a78b-3a9948797db8</item-id></data>

2021-02-23 21:28:04 | 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-4effa27a-65dd-43c4-a11f-3f4585af1d9f</value></node><item-id label="Item ID" type="text-single"><value>item-6a695d4c-e635-4dd3-a78b-3a9948797db8</value></item-id><item label="Item" type="text-multi"><value><item id="item-6a695d4c-e635-4dd3-a78b-3a9948797db8"><test>item-6a695d4c-e635-4dd3-a78b-3a9948797db8</test></item></value></item></result>

2021-02-23 21:28:04 | [Mutex] notify: [retrieved:item:item-6a695d4c-e635-4dd3-a78b-3a9948797db8:payload-matches:true:localhost]

2021-02-23 21:28:04 | [Mutex] received everything.

2021-02-23 21:28:04 | [Mutex] isItemNotified: retrieved:item:item-6a695d4c-e635-4dd3-a78b-3a9948797db8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-23 21:28:04 |

2021-02-23 21:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:04 | ------------------------------------

2021-02-23 21:28:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-23 21:28:04 | 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-4effa27a-65dd-43c4-a11f-3f4585af1d9f</value><value>node-7eb23d44-9fd2-4806-9d29-8348b00362f6</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-02-23 21:28:04 |

2021-02-23 21:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:04 | ------------------------------------

2021-02-23 21:28:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4effa27a-65dd-43c4-a11f-3f4585af1d9f)</node-pattern></data>

2021-02-23 21:28:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.150s
2021-02-23 21:28:03 |

2021-02-23 21:28:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:03 | ------------------------------------

2021-02-23 21:28:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.324s
2021-02-23 21:28:05 |

2021-02-23 21:28:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-23 21:28:05 | ------------------------------------

2021-02-23 21:28:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4effa27a-65dd-43c4-a11f-3f4585af1d9f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-23 21:28:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>