Generated by TestNG with ReportNG at 22:13 PDT on Tuesday 28 September 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.642s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.794s
2021-09-28 22:28:39 |

2021-09-28 22:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-09-28 22:28:39 | ------------------------------------

2021-09-28 22:28:39 | [Mutex] isItemNotified: node_migzps0203:exists :: false

2021-09-28 22:28:39 | [Mutex] waiting for: [node_migzps0203:create_node]

2021-09-28 22:28:39 | [Mutex] received everything.

2021-09-28 22:28:39 | [Mutex] isItemNotified: node_migzps0203:create_node:success :: true

2021-09-28 22:28:39 | [Mutex] waiting for: [node_migzps0203:subscribe_node]

2021-09-28 22:28:39 | [Mutex] received everything.

2021-09-28 22:28:39 | [Mutex] isItemNotified: node_migzps0203:subscribe_node:success :: true

2021-09-28 22:28:39 |


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


2021-09-28 22:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:28:39 | command: <data><node>node_migzps0203</node><entry><content>content_n7sycc0204</content></entry></data>

2021-09-28 22:28:39 | target: http://localhost:8088

2021-09-28 22:28:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-09-28 22:28:39 | entity: <data><node>node_migzps0203</node><entry><content>content_n7sycc0204</content></entry></data>

2021-09-28 22:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f3919665-20b8-4a0a-b819-8e9540591605</value></item-id></result>

2021-09-28 22:28:39 | contains: true

2021-09-28 22:28:39 | [Mutex] received everything.

2021-09-28 22:28:39 | [Mutex] isItemNotified: user_regularv6o6tn0202@test-domain.com:message:received:content_n7sycc0204 :: true

2021-09-28 22:28:39 |


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


2021-09-28 22:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:28:39 | command: <data><node>node_migzps0203</node><expire-at>2021-09-29T05:28:34Z</expire-at><entry><content>content_c0c2000205</content></entry></data>

2021-09-28 22:28:39 | target: http://localhost:8088

2021-09-28 22:28:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-28 22:28:39 | entity: <data><node>node_migzps0203</node><expire-at>2021-09-29T05:28:34Z</expire-at><entry><content>content_c0c2000205</content></entry></data>

2021-09-28 22:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>75783548-cbca-44b9-a9b5-772689275ec2</value></item-id></result>

2021-09-28 22:28:39 | contains: true

2021-09-28 22:28:39 | [Mutex] waiting for: [user_regularv6o6tn0202@test-domain.com:message:received:content_c0c2000205]

2021-09-28 22:28:54 | [Mutex] timeout. Not received [user_regularv6o6tn0202@test-domain.com:message:received:content_c0c2000205]

2021-09-28 22:28:54 | [Mutex] isItemNotified: user_regularv6o6tn0202@test-domain.com:message:received:content_c0c2000205 :: false

2021-09-28 22:28:54 |


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


2021-09-28 22:28:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:28:54 | command: <data><node>node_migzps0203</node><entry><content>content_66w0s0206</content></entry></data>

2021-09-28 22:28:54 | target: http://localhost:8088

2021-09-28 22:28:54 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-09-28 22:28:54 | entity: <data><node>node_migzps0203</node><entry><content>content_66w0s0206</content></entry></data>

2021-09-28 22:28:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:28:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:28:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ddd5f8b-e2ad-4058-b842-28af2eed4ba4</value></item-id></result>

2021-09-28 22:28:54 | contains: true

2021-09-28 22:28:59 | [Mutex] waiting for: [user_regularv6o6tn0202@test-domain.com:message:received:content_66w0s0206]

2021-09-28 22:28:59 | [Mutex] waiting for: [user_regularv6o6tn0202@test-domain.com:message:received:content_66w0s0206]

2021-09-28 22:28:59 | [Mutex] received everything.

2021-09-28 22:28:59 | [Mutex] isItemNotified: user_regularv6o6tn0202@test-domain.com:message:received:content_66w0s0206 :: true

2021-09-28 22:28:59 |


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


2021-09-28 22:28:59 | [Mutex] received everything.

2021-09-28 22:28:59 | [Mutex] isItemNotified: node_migzps0203:subscribe_node:success :: true

2021-09-28 22:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-09-28 22:28:59 | command: <data><node>node_migzps0203</node><expire-at>2021-09-29T05:29:04Z</expire-at><entry><content>content_co2on70207</content></entry></data>

2021-09-28 22:28:59 | target: http://localhost:8088

2021-09-28 22:28:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-09-28 22:28:59 | entity: <data><node>node_migzps0203</node><expire-at>2021-09-29T05:29:04Z</expire-at><entry><content>content_co2on70207</content></entry></data>

2021-09-28 22:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-09-28 22:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1242d803-5146-4a02-9b08-be2f799cd435</value></item-id></result>

2021-09-28 22:28:59 | contains: true

2021-09-28 22:29:08 | [Mutex] waiting for: [user_regularv6o6tn0202@test-domain.com:message:received:content_co2on70207]

2021-09-28 22:29:08 | [Mutex] waiting for: [user_regularv6o6tn0202@test-domain.com:message:received:content_co2on70207]

2021-09-28 22:29:08 | [Mutex] waiting for: [user_regularv6o6tn0202@test-domain.com:message:received:content_co2on70207]

2021-09-28 22:29:23 | [Mutex] timeout. Not received [user_regularv6o6tn0202@test-domain.com:message:received:content_co2on70207]

2021-09-28 22:29:23 | [Mutex] received everything.

2021-09-28 22:29:23 | [Mutex] isItemNotified: user_regularv6o6tn0202@test-domain.com:message:received:content_co2on70207 :: false

2021-09-28 22:29:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_co2on70207 :: true