Generated by TestNG with ReportNG at 21:17 PST on Tuesday 26 January 2021
root@87f6aca6b6f2 / 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.139s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-01-26 21:31:30 |

2021-01-26 21:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:30 | ------------------------------------

2021-01-26 21:31:30 | [Mutex] waiting for: [configured:node:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:node-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9]

2021-01-26 21:31:30 | [Mutex] received everything.

2021-01-26 21:31:30 | [Mutex] isItemNotified: configured:node:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:node-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9 :: true

2021-01-26 21:31:31 | [Mutex] waiting for: [received:nodes:2ea49dc4-29e4-4361-8bff-e75759c4912b:localhost]

2021-01-26 21:31:31 | [Mutex] waiting for: [received:nodes:2ea49dc4-29e4-4361-8bff-e75759c4912b:localhost]

2021-01-26 21:31:31 | [Mutex] received everything.

2021-01-26 21:31:31 | [Mutex] isItemNotified: received:node:2ea49dc4-29e4-4361-8bff-e75759c4912b:localhost:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:Node 691b89f7-ec63-4197-8fe3-3239d9c5d56b :: true

2021-01-26 21:31:31 | [Mutex] waiting for: [received:nodes:8a147b96-5155-4ca6-9d8f-01222a72badc:localhost]

2021-01-26 21:31:31 | [Mutex] waiting for: [received:nodes:8a147b96-5155-4ca6-9d8f-01222a72badc:localhost]

2021-01-26 21:31:31 | [Mutex] received everything.

2021-01-26 21:31:31 | [Mutex] isItemNotified: received:node:8a147b96-5155-4ca6-9d8f-01222a72badc:localhost:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:Node 691b89f7-ec63-4197-8fe3-3239d9c5d56b :: false

createNodes 1.537s
2021-01-26 21:31:27 |

2021-01-26 21:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:27 | ------------------------------------

2021-01-26 21:31:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 691b89f7-ec63-4197-8fe3-3239d9c5d56b</title></pubsub></data>

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

2021-01-26 21:31:29 | [Mutex] waiting for: [received:nodes:bd59063b-dd3e-4da0-af9a-2c395183eb38:localhost]

2021-01-26 21:31:29 | [Mutex] received everything.

2021-01-26 21:31:29 | [Mutex] isItemNotified: received:node:bd59063b-dd3e-4da0-af9a-2c395183eb38:localhost:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:Node 691b89f7-ec63-4197-8fe3-3239d9c5d56b :: true

createSubnodes 1.044s
2021-01-26 21:31:29 |

2021-01-26 21:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:29 | ------------------------------------

2021-01-26 21:31:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2dffc2c6-fac0-4b2f-92b0-cf16599dcde9</title></pubsub></data>

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

2021-01-26 21:31:30 | [Mutex] waiting for: [received:nodes:5375da39-4e08-4456-bdad-f6677659a139:localhost]

2021-01-26 21:31:30 | [Mutex] received everything.

2021-01-26 21:31:30 | [Mutex] isItemNotified: received:node:5375da39-4e08-4456-bdad-f6677659a139:localhost:node-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9:Node 2dffc2c6-fac0-4b2f-92b0-cf16599dcde9 :: true

deleteNodes 1.024s
2021-01-26 21:31:36 |

2021-01-26 21:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:36 | ------------------------------------

2021-01-26 21:31:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9</node></data>

2021-01-26 21:31:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 21:31:37 | [Mutex] waiting for: [received:nodes:dc859cb4-fab6-4203-a264-861377e20766:localhost]

2021-01-26 21:31:37 | [Mutex] received everything.

2021-01-26 21:31:37 | [Mutex] isItemNotified: received:node:dc859cb4-fab6-4203-a264-861377e20766:localhost:node-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9:Node 2dffc2c6-fac0-4b2f-92b0-cf16599dcde9 :: false

deleteSubnodes 1.147s
2021-01-26 21:31:34 |

2021-01-26 21:31:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:34 | ------------------------------------

2021-01-26 21:31:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node></data>

2021-01-26 21:31:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-26 21:31:35 | [Mutex] waiting for: [received:nodes:99e273bc-6e9f-4f4c-bf3f-a73f939d4322:localhost]

2021-01-26 21:31:36 | [Mutex] received everything.

2021-01-26 21:31:36 | [Mutex] isItemNotified: received:node:99e273bc-6e9f-4f4c-bf3f-a73f939d4322:localhost:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:Node 691b89f7-ec63-4197-8fe3-3239d9c5d56b :: false

2021-01-26 21:31:36 | [Mutex] waiting for: [received:nodes:f5fc797a-0132-4cec-ab6f-f710e2375df2:localhost]

2021-01-26 21:31:36 | [Mutex] received everything.

2021-01-26 21:31:36 | [Mutex] isItemNotified: received:node:f5fc797a-0132-4cec-ab6f-f710e2375df2:localhost:node-691b89f7-ec63-4197-8fe3-3239d9c5d56b:Node 691b89f7-ec63-4197-8fe3-3239d9c5d56b :: false

publishItemsToNodes 0.185s
2021-01-26 21:31:32 |

2021-01-26 21:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:32 | ------------------------------------

2021-01-26 21:31:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node><item-id>item-876b611b-7107-41b5-ad78-4461608e9938</item-id><entry><test>item-876b611b-7107-41b5-ad78-4461608e9938</test></entry></data>

2021-01-26 21:31:32 | 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-876b611b-7107-41b5-ad78-4461608e9938</value></item-id></result>

2021-01-26 21:31:32 | [Mutex] received everything.

2021-01-26 21:31:32 | [Mutex] isItemNotified: published:item:notifieditem-876b611b-7107-41b5-ad78-4461608e9938:admin@test-domain.com :: true

retractItemsFromNodes 0.232s
2021-01-26 21:31:33 |

2021-01-26 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:33 | ------------------------------------

2021-01-26 21:31:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node><item-id>item-876b611b-7107-41b5-ad78-4461608e9938</item-id></data>

2021-01-26 21:31:33 | 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-876b611b-7107-41b5-ad78-4461608e9938</value></item-id></result>

2021-01-26 21:31:33 | [Mutex] received everything.

2021-01-26 21:31:33 | [Mutex] isItemNotified: retracted:item:notifieditem-876b611b-7107-41b5-ad78-4461608e9938:admin@test-domain.com :: true

retrieveItemsFromNodes 0.290s
2021-01-26 21:31:32 |

2021-01-26 21:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:32 | ------------------------------------

2021-01-26 21:31:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node><item-id>item-876b611b-7107-41b5-ad78-4461608e9938</item-id></data>

2021-01-26 21:31:33 | 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-691b89f7-ec63-4197-8fe3-3239d9c5d56b</value></node><item-id label="Item ID" type="text-single"><value>item-876b611b-7107-41b5-ad78-4461608e9938</value></item-id><item label="Item" type="text-multi"><value><item id="item-876b611b-7107-41b5-ad78-4461608e9938"><test>item-876b611b-7107-41b5-ad78-4461608e9938</test></item></value></item></result>

2021-01-26 21:31:33 | [Mutex] notify: [retrieved:item:item-876b611b-7107-41b5-ad78-4461608e9938:payload-matches:true:localhost]

2021-01-26 21:31:33 | [Mutex] received everything.

2021-01-26 21:31:33 | [Mutex] isItemNotified: retrieved:item:item-876b611b-7107-41b5-ad78-4461608e9938:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-01-26 21:31:33 |

2021-01-26 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:33 | ------------------------------------

2021-01-26 21:31:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-26 21:31:33 | 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-2dffc2c6-fac0-4b2f-92b0-cf16599dcde9</value><value>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-26 21:31:33 |

2021-01-26 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:33 | ------------------------------------

2021-01-26 21:31:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-691b89f7-ec63-4197-8fe3-3239d9c5d56b)</node-pattern></data>

2021-01-26 21:31:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.117s
2021-01-26 21:31:31 |

2021-01-26 21:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:31 | ------------------------------------

2021-01-26 21:31:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.342s
2021-01-26 21:31:33 |

2021-01-26 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:31:33 | ------------------------------------

2021-01-26 21:31:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-691b89f7-ec63-4197-8fe3-3239d9c5d56b</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-26 21:31:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>