Generated by TestNG with ReportNG at 21:14 PST on Friday 05 February 2021
root@43fec6d4badf / 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.869s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.796s
2021-02-05 21:30:44 |

2021-02-05 21:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-05 21:30:44 | ------------------------------------

2021-02-05 21:30:44 | [Mutex] isItemNotified: node_svocfw0203:exists :: false

2021-02-05 21:30:44 | [Mutex] waiting for: [node_svocfw0203:create_node]

2021-02-05 21:30:44 | [Mutex] received everything.

2021-02-05 21:30:44 | [Mutex] isItemNotified: node_svocfw0203:create_node:success :: true

2021-02-05 21:30:44 | [Mutex] waiting for: [node_svocfw0203:subscribe_node]

2021-02-05 21:30:44 | [Mutex] waiting for: [node_svocfw0203:subscribe_node]

2021-02-05 21:30:44 | [Mutex] received everything.

2021-02-05 21:30:44 | [Mutex] isItemNotified: node_svocfw0203:subscribe_node:success :: true

2021-02-05 21:30:44 |


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


2021-02-05 21:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:30:44 | command: <data><node>node_svocfw0203</node><entry><content>content_ny9tf20204</content></entry></data>

2021-02-05 21:30:44 | target: http://localhost:8088

2021-02-05 21:30:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-05 21:30:44 | entity: <data><node>node_svocfw0203</node><entry><content>content_ny9tf20204</content></entry></data>

2021-02-05 21:30:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:30:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>59af755f-f792-4981-b9f3-f94613add4c3</value></item-id></result>

2021-02-05 21:30:44 | contains: true

2021-02-05 21:30:44 | [Mutex] received everything.

2021-02-05 21:30:44 | [Mutex] isItemNotified: user_regularx0vrir0202@test-domain.com:message:received:content_ny9tf20204 :: true

2021-02-05 21:30:44 |


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


2021-02-05 21:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:30:44 | command: <data><node>node_svocfw0203</node><expire-at>2021-02-06T05:30:39Z</expire-at><entry><content>content_mv2j5l0205</content></entry></data>

2021-02-05 21:30:44 | target: http://localhost:8088

2021-02-05 21:30:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-05 21:30:44 | entity: <data><node>node_svocfw0203</node><expire-at>2021-02-06T05:30:39Z</expire-at><entry><content>content_mv2j5l0205</content></entry></data>

2021-02-05 21:30:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:30:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>29baefa1-42d8-4822-bf74-2e5d473bef00</value></item-id></result>

2021-02-05 21:30:44 | contains: true

2021-02-05 21:30:44 | [Mutex] waiting for: [user_regularx0vrir0202@test-domain.com:message:received:content_mv2j5l0205]

2021-02-05 21:30:59 | [Mutex] timeout. Not received [user_regularx0vrir0202@test-domain.com:message:received:content_mv2j5l0205]

2021-02-05 21:30:59 | [Mutex] isItemNotified: user_regularx0vrir0202@test-domain.com:message:received:content_mv2j5l0205 :: false

2021-02-05 21:30:59 |


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


2021-02-05 21:30:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:30:59 | command: <data><node>node_svocfw0203</node><entry><content>content_2q4j8m0206</content></entry></data>

2021-02-05 21:30:59 | target: http://localhost:8088

2021-02-05 21:30:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-05 21:30:59 | entity: <data><node>node_svocfw0203</node><entry><content>content_2q4j8m0206</content></entry></data>

2021-02-05 21:30:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:30:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:30:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8f467978-b479-4094-b6d3-b90b9ab636ca</value></item-id></result>

2021-02-05 21:30:59 | contains: true

2021-02-05 21:31:04 | [Mutex] waiting for: [user_regularx0vrir0202@test-domain.com:message:received:content_2q4j8m0206]

2021-02-05 21:31:04 | [Mutex] waiting for: [user_regularx0vrir0202@test-domain.com:message:received:content_2q4j8m0206]

2021-02-05 21:31:04 | [Mutex] received everything.

2021-02-05 21:31:04 | [Mutex] isItemNotified: user_regularx0vrir0202@test-domain.com:message:received:content_2q4j8m0206 :: true

2021-02-05 21:31:04 |


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


2021-02-05 21:31:04 | [Mutex] received everything.

2021-02-05 21:31:04 | [Mutex] isItemNotified: node_svocfw0203:subscribe_node:success :: true

2021-02-05 21:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-05 21:31:04 | command: <data><node>node_svocfw0203</node><expire-at>2021-02-06T05:31:09Z</expire-at><entry><content>content_thxqvl0207</content></entry></data>

2021-02-05 21:31:04 | target: http://localhost:8088

2021-02-05 21:31:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-05 21:31:04 | entity: <data><node>node_svocfw0203</node><expire-at>2021-02-06T05:31:09Z</expire-at><entry><content>content_thxqvl0207</content></entry></data>

2021-02-05 21:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-05 21:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>10ee9a69-7e44-4459-b6ab-a4a8c18a5c6a</value></item-id></result>

2021-02-05 21:31:04 | contains: true

2021-02-05 21:31:12 | [Mutex] waiting for: [user_regularx0vrir0202@test-domain.com:message:received:content_thxqvl0207]

2021-02-05 21:31:27 | [Mutex] timeout. Not received [user_regularx0vrir0202@test-domain.com:message:received:content_thxqvl0207]

2021-02-05 21:31:27 | [Mutex] received everything.

2021-02-05 21:31:27 | [Mutex] isItemNotified: user_regularx0vrir0202@test-domain.com:message:received:content_thxqvl0207 :: false

2021-02-05 21:31:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_thxqvl0207 :: true