Generated by TestNG with ReportNG at 21:42 PST on Thursday 03 February 2022
root@b2c2a8eba6e6 / 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.001s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.702s
2022-02-03 21:58:04 |

2022-02-03 21:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-03 21:58:04 | ------------------------------------

2022-02-03 21:58:04 | [Mutex] isItemNotified: node_we8oxn0203:exists :: false

2022-02-03 21:58:04 | [Mutex] waiting for: [node_we8oxn0203:create_node]

2022-02-03 21:58:04 | [Mutex] received everything.

2022-02-03 21:58:04 | [Mutex] isItemNotified: node_we8oxn0203:create_node:success :: true

2022-02-03 21:58:04 | [Mutex] waiting for: [node_we8oxn0203:subscribe_node]

2022-02-03 21:58:04 | [Mutex] waiting for: [node_we8oxn0203:subscribe_node]

2022-02-03 21:58:04 | [Mutex] received everything.

2022-02-03 21:58:04 | [Mutex] isItemNotified: node_we8oxn0203:subscribe_node:success :: true

2022-02-03 21:58:04 |


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


2022-02-03 21:58:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:58:04 | command: <data><node>node_we8oxn0203</node><entry><content>content_j5e9p50204</content></entry></data>

2022-02-03 21:58:04 | target: http://localhost:8088

2022-02-03 21:58:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 21:58:04 | entity: <data><node>node_we8oxn0203</node><entry><content>content_j5e9p50204</content></entry></data>

2022-02-03 21:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:58:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:58:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>77faa639-e187-4d6e-8b6b-dac5d325063f</value></item-id></result>

2022-02-03 21:58:04 | contains: true

2022-02-03 21:58:04 | [Mutex] waiting for: [user_regularmiaj5p0202@test-domain.com:message:received:content_j5e9p50204]

2022-02-03 21:58:04 | [Mutex] received everything.

2022-02-03 21:58:04 | [Mutex] isItemNotified: user_regularmiaj5p0202@test-domain.com:message:received:content_j5e9p50204 :: true

2022-02-03 21:58:04 |


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


2022-02-03 21:58:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:58:04 | command: <data><node>node_we8oxn0203</node><expire-at>2022-02-04T05:57:59Z</expire-at><entry><content>content_10yxq50205</content></entry></data>

2022-02-03 21:58:04 | target: http://localhost:8088

2022-02-03 21:58:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 21:58:04 | entity: <data><node>node_we8oxn0203</node><expire-at>2022-02-04T05:57:59Z</expire-at><entry><content>content_10yxq50205</content></entry></data>

2022-02-03 21:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:58:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:58:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c605f516-725c-42a2-9a57-80a870ecb804</value></item-id></result>

2022-02-03 21:58:04 | contains: true

2022-02-03 21:58:04 | [Mutex] waiting for: [user_regularmiaj5p0202@test-domain.com:message:received:content_10yxq50205]

2022-02-03 21:58:19 | [Mutex] timeout. Not received [user_regularmiaj5p0202@test-domain.com:message:received:content_10yxq50205]

2022-02-03 21:58:19 | [Mutex] isItemNotified: user_regularmiaj5p0202@test-domain.com:message:received:content_10yxq50205 :: false

2022-02-03 21:58:19 |


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


2022-02-03 21:58:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:58:19 | command: <data><node>node_we8oxn0203</node><entry><content>content_6zwl070206</content></entry></data>

2022-02-03 21:58:19 | target: http://localhost:8088

2022-02-03 21:58:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 21:58:19 | entity: <data><node>node_we8oxn0203</node><entry><content>content_6zwl070206</content></entry></data>

2022-02-03 21:58:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:58:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:58:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3bc455cc-bb36-421e-9895-8982c9a099cc</value></item-id></result>

2022-02-03 21:58:19 | contains: true

2022-02-03 21:58:24 | [Mutex] waiting for: [user_regularmiaj5p0202@test-domain.com:message:received:content_6zwl070206]

2022-02-03 21:58:24 | [Mutex] received everything.

2022-02-03 21:58:24 | [Mutex] isItemNotified: user_regularmiaj5p0202@test-domain.com:message:received:content_6zwl070206 :: true

2022-02-03 21:58:24 |


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


2022-02-03 21:58:24 | [Mutex] received everything.

2022-02-03 21:58:24 | [Mutex] isItemNotified: node_we8oxn0203:subscribe_node:success :: true

2022-02-03 21:58:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:58:24 | command: <data><node>node_we8oxn0203</node><expire-at>2022-02-04T05:58:29Z</expire-at><entry><content>content_51cco00207</content></entry></data>

2022-02-03 21:58:24 | target: http://localhost:8088

2022-02-03 21:58:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 21:58:24 | entity: <data><node>node_we8oxn0203</node><expire-at>2022-02-04T05:58:29Z</expire-at><entry><content>content_51cco00207</content></entry></data>

2022-02-03 21:58:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:58:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:58:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cb1ec0c8-864d-4455-8ab9-d7b2f03ff752</value></item-id></result>

2022-02-03 21:58:24 | contains: true

2022-02-03 21:58:32 | [Mutex] waiting for: [user_regularmiaj5p0202@test-domain.com:message:received:content_51cco00207]

2022-02-03 21:58:32 | [Mutex] waiting for: [user_regularmiaj5p0202@test-domain.com:message:received:content_51cco00207]

2022-02-03 21:58:47 | [Mutex] timeout. Not received [user_regularmiaj5p0202@test-domain.com:message:received:content_51cco00207]

2022-02-03 21:58:47 | [Mutex] received everything.

2022-02-03 21:58:47 | [Mutex] isItemNotified: user_regularmiaj5p0202@test-domain.com:message:received:content_51cco00207 :: false

2022-02-03 21:58:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_51cco00207 :: true