Generated by TestNG with ReportNG at 00:00 PDT on Saturday 29 August 2020
root@3513606298cd / 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.144s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.737s
2020-08-29 00:16:24 |

2020-08-29 00:16:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-29 00:16:24 | ------------------------------------

2020-08-29 00:16:24 | [Mutex] isItemNotified: node_4eoras0203:exists :: false

2020-08-29 00:16:24 | [Mutex] waiting for: [node_4eoras0203:create_node]

2020-08-29 00:16:24 | [Mutex] received everything.

2020-08-29 00:16:24 | [Mutex] isItemNotified: node_4eoras0203:create_node:success :: true

2020-08-29 00:16:24 | [Mutex] waiting for: [node_4eoras0203:subscribe_node]

2020-08-29 00:16:24 | [Mutex] received everything.

2020-08-29 00:16:24 | [Mutex] isItemNotified: node_4eoras0203:subscribe_node:success :: true

2020-08-29 00:16:24 |


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


2020-08-29 00:16:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-29 00:16:24 | command: <data><node>node_4eoras0203</node><entry><content>content_6cjqe00204</content></entry></data>

2020-08-29 00:16:24 | target: http://localhost:8088

2020-08-29 00:16:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-29 00:16:24 | entity: <data><node>node_4eoras0203</node><entry><content>content_6cjqe00204</content></entry></data>

2020-08-29 00:16:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 07:16:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-29 00:16:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>debc4875-cb25-479e-91b4-6e72d8e1e3ec</value></item-id></result>

2020-08-29 00:16:24 | contains: true

2020-08-29 00:16:24 | [Mutex] waiting for: [user_regularsmzidk0202@test-domain.com:message:received:content_6cjqe00204]

2020-08-29 00:16:24 | [Mutex] received everything.

2020-08-29 00:16:24 | [Mutex] isItemNotified: user_regularsmzidk0202@test-domain.com:message:received:content_6cjqe00204 :: true

2020-08-29 00:16:24 |


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


2020-08-29 00:16:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-29 00:16:24 | command: <data><node>node_4eoras0203</node><expire-at>2020-08-29T07:16:19Z</expire-at><entry><content>content_sfettk0205</content></entry></data>

2020-08-29 00:16:24 | target: http://localhost:8088

2020-08-29 00:16:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-29 00:16:24 | entity: <data><node>node_4eoras0203</node><expire-at>2020-08-29T07:16:19Z</expire-at><entry><content>content_sfettk0205</content></entry></data>

2020-08-29 00:16:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 07:16:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-29 00:16:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f691f2a7-6005-4b54-9e21-efe95af6394f</value></item-id></result>

2020-08-29 00:16:24 | contains: true

2020-08-29 00:16:24 | [Mutex] waiting for: [user_regularsmzidk0202@test-domain.com:message:received:content_sfettk0205]

2020-08-29 00:16:39 | [Mutex] timeout. Not received [user_regularsmzidk0202@test-domain.com:message:received:content_sfettk0205]

2020-08-29 00:16:39 | [Mutex] isItemNotified: user_regularsmzidk0202@test-domain.com:message:received:content_sfettk0205 :: false

2020-08-29 00:16:39 |


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


2020-08-29 00:16:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-29 00:16:39 | command: <data><node>node_4eoras0203</node><entry><content>content_q24vm70206</content></entry></data>

2020-08-29 00:16:39 | target: http://localhost:8088

2020-08-29 00:16:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-29 00:16:39 | entity: <data><node>node_4eoras0203</node><entry><content>content_q24vm70206</content></entry></data>

2020-08-29 00:16:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 07:16:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-29 00:16:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af177bb0-bd29-4eb5-a932-c7567f64be18</value></item-id></result>

2020-08-29 00:16:39 | contains: true

2020-08-29 00:16:44 | [Mutex] waiting for: [user_regularsmzidk0202@test-domain.com:message:received:content_q24vm70206]

2020-08-29 00:16:44 | [Mutex] received everything.

2020-08-29 00:16:44 | [Mutex] isItemNotified: user_regularsmzidk0202@test-domain.com:message:received:content_q24vm70206 :: true

2020-08-29 00:16:44 |


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


2020-08-29 00:16:44 | [Mutex] received everything.

2020-08-29 00:16:44 | [Mutex] isItemNotified: node_4eoras0203:subscribe_node:success :: true

2020-08-29 00:16:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-29 00:16:44 | command: <data><node>node_4eoras0203</node><expire-at>2020-08-29T07:16:49Z</expire-at><entry><content>content_fzh5b50207</content></entry></data>

2020-08-29 00:16:44 | target: http://localhost:8088

2020-08-29 00:16:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-29 00:16:44 | entity: <data><node>node_4eoras0203</node><expire-at>2020-08-29T07:16:49Z</expire-at><entry><content>content_fzh5b50207</content></entry></data>

2020-08-29 00:16:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 07:16:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-29 00:16:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>697e84cb-93d1-48ad-ac2a-6e03ddfbb6d6</value></item-id></result>

2020-08-29 00:16:44 | contains: true

2020-08-29 00:16:53 | [Mutex] waiting for: [user_regularsmzidk0202@test-domain.com:message:received:content_fzh5b50207]

2020-08-29 00:17:08 | [Mutex] timeout. Not received [user_regularsmzidk0202@test-domain.com:message:received:content_fzh5b50207]

2020-08-29 00:17:08 | [Mutex] received everything.

2020-08-29 00:17:08 | [Mutex] isItemNotified: user_regularsmzidk0202@test-domain.com:message:received:content_fzh5b50207 :: false

2020-08-29 00:17:08 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fzh5b50207 :: true