Generated by TestNG with ReportNG at 22:32 PDT on Monday 26 April 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.490s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.714s
2021-04-26 22:49:18 |

2021-04-26 22:49:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-26 22:49:18 | ------------------------------------

2021-04-26 22:49:18 | [Mutex] isItemNotified: node_8igzgt0203:exists :: false

2021-04-26 22:49:18 | [Mutex] waiting for: [node_8igzgt0203:create_node]

2021-04-26 22:49:18 | [Mutex] received everything.

2021-04-26 22:49:18 | [Mutex] isItemNotified: node_8igzgt0203:create_node:success :: true

2021-04-26 22:49:18 | [Mutex] waiting for: [node_8igzgt0203:subscribe_node]

2021-04-26 22:49:18 | [Mutex] received everything.

2021-04-26 22:49:18 | [Mutex] isItemNotified: node_8igzgt0203:subscribe_node:success :: true

2021-04-26 22:49:18 |


===== publishing normal message (to online)


2021-04-26 22:49:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:49:18 | command: <data><node>node_8igzgt0203</node><entry><content>content_vlhf5d0204</content></entry></data>

2021-04-26 22:49:18 | target: http://localhost:8088

2021-04-26 22:49:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-26 22:49:18 | entity: <data><node>node_8igzgt0203</node><entry><content>content_vlhf5d0204</content></entry></data>

2021-04-26 22:49:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:49:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:49:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1ef91238-1b25-4cf4-9cd7-0894a2c453c7</value></item-id></result>

2021-04-26 22:49:19 | contains: true

2021-04-26 22:49:19 | [Mutex] waiting for: [user_regularb2hgx90202@test-domain.com:message:received:content_vlhf5d0204]

2021-04-26 22:49:19 | [Mutex] received everything.

2021-04-26 22:49:19 | [Mutex] isItemNotified: user_regularb2hgx90202@test-domain.com:message:received:content_vlhf5d0204 :: true

2021-04-26 22:49:19 |


===== publishing already old message - expecting message being filtered out (to online)


2021-04-26 22:49:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:49:19 | command: <data><node>node_8igzgt0203</node><expire-at>2021-04-27T05:49:14Z</expire-at><entry><content>content_tw0dcc0205</content></entry></data>

2021-04-26 22:49:19 | target: http://localhost:8088

2021-04-26 22:49:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-26 22:49:19 | entity: <data><node>node_8igzgt0203</node><expire-at>2021-04-27T05:49:14Z</expire-at><entry><content>content_tw0dcc0205</content></entry></data>

2021-04-26 22:49:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:49:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:49:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>421b4c5d-13af-456e-bc2e-50073e82697d</value></item-id></result>

2021-04-26 22:49:19 | contains: true

2021-04-26 22:49:19 | [Mutex] waiting for: [user_regularb2hgx90202@test-domain.com:message:received:content_tw0dcc0205]

2021-04-26 22:49:34 | [Mutex] timeout. Not received [user_regularb2hgx90202@test-domain.com:message:received:content_tw0dcc0205]

2021-04-26 22:49:34 | [Mutex] isItemNotified: user_regularb2hgx90202@test-domain.com:message:received:content_tw0dcc0205 :: false

2021-04-26 22:49:34 |


===== publishing normal message (to offline)


2021-04-26 22:49:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:49:34 | command: <data><node>node_8igzgt0203</node><entry><content>content_yuh8e70206</content></entry></data>

2021-04-26 22:49:34 | target: http://localhost:8088

2021-04-26 22:49:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-26 22:49:34 | entity: <data><node>node_8igzgt0203</node><entry><content>content_yuh8e70206</content></entry></data>

2021-04-26 22:49:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:49:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:49:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e1e31ef-03f3-4c2d-9bf5-3082269d0a2f</value></item-id></result>

2021-04-26 22:49:34 | contains: true

2021-04-26 22:49:39 | [Mutex] waiting for: [user_regularb2hgx90202@test-domain.com:message:received:content_yuh8e70206]

2021-04-26 22:49:39 | [Mutex] waiting for: [user_regularb2hgx90202@test-domain.com:message:received:content_yuh8e70206]

2021-04-26 22:49:39 | [Mutex] received everything.

2021-04-26 22:49:39 | [Mutex] isItemNotified: user_regularb2hgx90202@test-domain.com:message:received:content_yuh8e70206 :: true

2021-04-26 22:49:39 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-04-26 22:49:39 | [Mutex] received everything.

2021-04-26 22:49:39 | [Mutex] isItemNotified: node_8igzgt0203:subscribe_node:success :: true

2021-04-26 22:49:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-26 22:49:39 | command: <data><node>node_8igzgt0203</node><expire-at>2021-04-27T05:49:44Z</expire-at><entry><content>content_fm6bqd0207</content></entry></data>

2021-04-26 22:49:39 | target: http://localhost:8088

2021-04-26 22:49:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-26 22:49:39 | entity: <data><node>node_8igzgt0203</node><expire-at>2021-04-27T05:49:44Z</expire-at><entry><content>content_fm6bqd0207</content></entry></data>

2021-04-26 22:49:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 05:49:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-26 22:49:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ce7e3edc-25e1-4616-ade5-313d42fd2d05</value></item-id></result>

2021-04-26 22:49:39 | contains: true

2021-04-26 22:49:47 | [Mutex] waiting for: [user_regularb2hgx90202@test-domain.com:message:received:content_fm6bqd0207]

2021-04-26 22:50:02 | [Mutex] timeout. Not received [user_regularb2hgx90202@test-domain.com:message:received:content_fm6bqd0207]

2021-04-26 22:50:02 | [Mutex] received everything.

2021-04-26 22:50:02 | [Mutex] isItemNotified: user_regularb2hgx90202@test-domain.com:message:received:content_fm6bqd0207 :: false

2021-04-26 22:50:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fm6bqd0207 :: true