Generated by TestNG with ReportNG at 21:29 PST on Wednesday 19 January 2022
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.568s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.618s
2022-01-19 21:44:56 |

2022-01-19 21:44:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-01-19 21:44:56 | ------------------------------------

2022-01-19 21:44:56 | [Mutex] isItemNotified: node_ncij6a0203:exists :: false

2022-01-19 21:44:56 | [Mutex] waiting for: [node_ncij6a0203:create_node]

2022-01-19 21:44:56 | [Mutex] received everything.

2022-01-19 21:44:56 | [Mutex] isItemNotified: node_ncij6a0203:create_node:success :: true

2022-01-19 21:44:56 | [Mutex] waiting for: [node_ncij6a0203:subscribe_node]

2022-01-19 21:44:56 | [Mutex] waiting for: [node_ncij6a0203:subscribe_node]

2022-01-19 21:44:56 | [Mutex] received everything.

2022-01-19 21:44:56 | [Mutex] isItemNotified: node_ncij6a0203:subscribe_node:success :: true

2022-01-19 21:44:56 |


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


2022-01-19 21:44:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:44:56 | command: <data><node>node_ncij6a0203</node><entry><content>content_ac4v200204</content></entry></data>

2022-01-19 21:44:56 | target: http://localhost:8088

2022-01-19 21:44:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-19 21:44:56 | entity: <data><node>node_ncij6a0203</node><entry><content>content_ac4v200204</content></entry></data>

2022-01-19 21:44:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:44:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:44:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55be3a56-56ed-4f99-ac38-80afea448417</value></item-id></result>

2022-01-19 21:44:56 | contains: true

2022-01-19 21:44:56 | [Mutex] received everything.

2022-01-19 21:44:56 | [Mutex] isItemNotified: user_regularxd8k7n0202@test-domain.com:message:received:content_ac4v200204 :: true

2022-01-19 21:44:56 |


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


2022-01-19 21:44:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:44:56 | command: <data><node>node_ncij6a0203</node><expire-at>2022-01-20T05:44:51Z</expire-at><entry><content>content_45xi6p0205</content></entry></data>

2022-01-19 21:44:56 | target: http://localhost:8088

2022-01-19 21:44:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-19 21:44:56 | entity: <data><node>node_ncij6a0203</node><expire-at>2022-01-20T05:44:51Z</expire-at><entry><content>content_45xi6p0205</content></entry></data>

2022-01-19 21:44:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:44:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:44:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ccce2b61-7de4-4348-bb48-4225b26e8066</value></item-id></result>

2022-01-19 21:44:56 | contains: true

2022-01-19 21:44:56 | [Mutex] waiting for: [user_regularxd8k7n0202@test-domain.com:message:received:content_45xi6p0205]

2022-01-19 21:45:11 | [Mutex] timeout. Not received [user_regularxd8k7n0202@test-domain.com:message:received:content_45xi6p0205]

2022-01-19 21:45:11 | [Mutex] isItemNotified: user_regularxd8k7n0202@test-domain.com:message:received:content_45xi6p0205 :: false

2022-01-19 21:45:11 |


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


2022-01-19 21:45:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:45:12 | command: <data><node>node_ncij6a0203</node><entry><content>content_6iz1b10206</content></entry></data>

2022-01-19 21:45:12 | target: http://localhost:8088

2022-01-19 21:45:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-01-19 21:45:12 | entity: <data><node>node_ncij6a0203</node><entry><content>content_6iz1b10206</content></entry></data>

2022-01-19 21:45:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:45:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:45:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4245055f-dfe6-4395-bdd6-5914d1cbdf4d</value></item-id></result>

2022-01-19 21:45:12 | contains: true

2022-01-19 21:45:17 | [Mutex] waiting for: [user_regularxd8k7n0202@test-domain.com:message:received:content_6iz1b10206]

2022-01-19 21:45:17 | [Mutex] received everything.

2022-01-19 21:45:17 | [Mutex] isItemNotified: user_regularxd8k7n0202@test-domain.com:message:received:content_6iz1b10206 :: true

2022-01-19 21:45:17 |


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


2022-01-19 21:45:17 | [Mutex] received everything.

2022-01-19 21:45:17 | [Mutex] isItemNotified: node_ncij6a0203:subscribe_node:success :: true

2022-01-19 21:45:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-01-19 21:45:17 | command: <data><node>node_ncij6a0203</node><expire-at>2022-01-20T05:45:22Z</expire-at><entry><content>content_vo7h8l0207</content></entry></data>

2022-01-19 21:45:17 | target: http://localhost:8088

2022-01-19 21:45:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-01-19 21:45:17 | entity: <data><node>node_ncij6a0203</node><expire-at>2022-01-20T05:45:22Z</expire-at><entry><content>content_vo7h8l0207</content></entry></data>

2022-01-19 21:45:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 20 Jan 2022 05:45:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-01-19 21:45:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8fb4c01b-8517-4341-a6a7-e5ea5bc2ed50</value></item-id></result>

2022-01-19 21:45:17 | contains: true

2022-01-19 21:45:25 | [Mutex] waiting for: [user_regularxd8k7n0202@test-domain.com:message:received:content_vo7h8l0207]

2022-01-19 21:45:40 | [Mutex] timeout. Not received [user_regularxd8k7n0202@test-domain.com:message:received:content_vo7h8l0207]

2022-01-19 21:45:40 | [Mutex] received everything.

2022-01-19 21:45:40 | [Mutex] isItemNotified: user_regularxd8k7n0202@test-domain.com:message:received:content_vo7h8l0207 :: false

2022-01-19 21:45:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vo7h8l0207 :: true