Generated by TestNG with ReportNG at 21:48 PST on Wednesday 23 February 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.032s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.665s
2022-02-23 22:03:57 |

2022-02-23 22:03:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-23 22:03:57 | ------------------------------------

2022-02-23 22:03:57 | [Mutex] isItemNotified: node_sfn68o0203:exists :: false

2022-02-23 22:03:57 | [Mutex] waiting for: [node_sfn68o0203:create_node]

2022-02-23 22:03:57 | [Mutex] received everything.

2022-02-23 22:03:57 | [Mutex] isItemNotified: node_sfn68o0203:create_node:success :: true

2022-02-23 22:03:57 | [Mutex] waiting for: [node_sfn68o0203:subscribe_node]

2022-02-23 22:03:57 | [Mutex] waiting for: [node_sfn68o0203:subscribe_node]

2022-02-23 22:03:57 | [Mutex] received everything.

2022-02-23 22:03:57 | [Mutex] isItemNotified: node_sfn68o0203:subscribe_node:success :: true

2022-02-23 22:03:57 |


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


2022-02-23 22:03:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 22:03:57 | command: <data><node>node_sfn68o0203</node><entry><content>content_yjglbc0204</content></entry></data>

2022-02-23 22:03:57 | target: http://localhost:8088

2022-02-23 22:03:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 22:03:57 | entity: <data><node>node_sfn68o0203</node><entry><content>content_yjglbc0204</content></entry></data>

2022-02-23 22:03:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:03:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:03:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a829e08f-67cd-4a62-a172-2df2173041b3</value></item-id></result>

2022-02-23 22:03:57 | contains: true

2022-02-23 22:03:57 | [Mutex] received everything.

2022-02-23 22:03:57 | [Mutex] isItemNotified: user_regulari1kghl0202@test-domain.com:message:received:content_yjglbc0204 :: true

2022-02-23 22:03:57 |


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


2022-02-23 22:03:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 22:03:57 | command: <data><node>node_sfn68o0203</node><expire-at>2022-02-24T06:03:52Z</expire-at><entry><content>content_mdmcmv0205</content></entry></data>

2022-02-23 22:03:57 | target: http://localhost:8088

2022-02-23 22:03:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 22:03:57 | entity: <data><node>node_sfn68o0203</node><expire-at>2022-02-24T06:03:52Z</expire-at><entry><content>content_mdmcmv0205</content></entry></data>

2022-02-23 22:03:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:03:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:03:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3db1c2b4-cd62-4f54-8fee-2fcf1e5257cd</value></item-id></result>

2022-02-23 22:03:57 | contains: true

2022-02-23 22:03:57 | [Mutex] waiting for: [user_regulari1kghl0202@test-domain.com:message:received:content_mdmcmv0205]

2022-02-23 22:04:12 | [Mutex] timeout. Not received [user_regulari1kghl0202@test-domain.com:message:received:content_mdmcmv0205]

2022-02-23 22:04:12 | [Mutex] isItemNotified: user_regulari1kghl0202@test-domain.com:message:received:content_mdmcmv0205 :: false

2022-02-23 22:04:12 |


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


2022-02-23 22:04:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 22:04:12 | command: <data><node>node_sfn68o0203</node><entry><content>content_ivt0030206</content></entry></data>

2022-02-23 22:04:12 | target: http://localhost:8088

2022-02-23 22:04:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-23 22:04:12 | entity: <data><node>node_sfn68o0203</node><entry><content>content_ivt0030206</content></entry></data>

2022-02-23 22:04:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:04:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:04:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>119d6f82-44c4-4479-9968-665abb4e14da</value></item-id></result>

2022-02-23 22:04:12 | contains: true

2022-02-23 22:04:17 | [Mutex] waiting for: [user_regulari1kghl0202@test-domain.com:message:received:content_ivt0030206]

2022-02-23 22:04:17 | [Mutex] received everything.

2022-02-23 22:04:17 | [Mutex] isItemNotified: user_regulari1kghl0202@test-domain.com:message:received:content_ivt0030206 :: true

2022-02-23 22:04:17 |


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


2022-02-23 22:04:17 | [Mutex] received everything.

2022-02-23 22:04:17 | [Mutex] isItemNotified: node_sfn68o0203:subscribe_node:success :: true

2022-02-23 22:04:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-23 22:04:17 | command: <data><node>node_sfn68o0203</node><expire-at>2022-02-24T06:04:22Z</expire-at><entry><content>content_7tikgi0207</content></entry></data>

2022-02-23 22:04:17 | target: http://localhost:8088

2022-02-23 22:04:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-23 22:04:17 | entity: <data><node>node_sfn68o0203</node><expire-at>2022-02-24T06:04:22Z</expire-at><entry><content>content_7tikgi0207</content></entry></data>

2022-02-23 22:04:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:04:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-23 22:04:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f0ea8967-5eee-47c7-949f-1f22175a7d8d</value></item-id></result>

2022-02-23 22:04:17 | contains: true

2022-02-23 22:04:25 | [Mutex] waiting for: [user_regulari1kghl0202@test-domain.com:message:received:content_7tikgi0207]

2022-02-23 22:04:25 | [Mutex] waiting for: [user_regulari1kghl0202@test-domain.com:message:received:content_7tikgi0207]

2022-02-23 22:04:40 | [Mutex] timeout. Not received [user_regulari1kghl0202@test-domain.com:message:received:content_7tikgi0207]

2022-02-23 22:04:40 | [Mutex] received everything.

2022-02-23 22:04:40 | [Mutex] isItemNotified: user_regulari1kghl0202@test-domain.com:message:received:content_7tikgi0207 :: false

2022-02-23 22:04:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7tikgi0207 :: true