Generated by TestNG with ReportNG at 23:29 PDT on Tuesday 15 September 2020
root@b111a435ccb0 / 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.075s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.706s
2020-09-15 23:44:34 |

2020-09-15 23:44:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-15 23:44:34 | ------------------------------------

2020-09-15 23:44:34 | [Mutex] isItemNotified: node_k1ezdf0203:exists :: false

2020-09-15 23:44:34 | [Mutex] waiting for: [node_k1ezdf0203:create_node]

2020-09-15 23:44:34 | [Mutex] received everything.

2020-09-15 23:44:34 | [Mutex] isItemNotified: node_k1ezdf0203:create_node:success :: true

2020-09-15 23:44:34 | [Mutex] waiting for: [node_k1ezdf0203:subscribe_node]

2020-09-15 23:44:34 | [Mutex] received everything.

2020-09-15 23:44:34 | [Mutex] isItemNotified: node_k1ezdf0203:subscribe_node:success :: true

2020-09-15 23:44:34 |


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


2020-09-15 23:44:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-15 23:44:34 | command: <data><node>node_k1ezdf0203</node><entry><content>content_k5fd3c0204</content></entry></data>

2020-09-15 23:44:34 | target: http://localhost:8088

2020-09-15 23:44:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-15 23:44:34 | entity: <data><node>node_k1ezdf0203</node><entry><content>content_k5fd3c0204</content></entry></data>

2020-09-15 23:44:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:44:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-15 23:44:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>69dbb54d-23c5-4d1e-8e4c-1493b1c341c2</value></item-id></result>

2020-09-15 23:44:34 | contains: true

2020-09-15 23:44:34 | [Mutex] received everything.

2020-09-15 23:44:34 | [Mutex] isItemNotified: user_regularw2p4ce0202@test-domain.com:message:received:content_k5fd3c0204 :: true

2020-09-15 23:44:34 |


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


2020-09-15 23:44:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-15 23:44:34 | command: <data><node>node_k1ezdf0203</node><expire-at>2020-09-16T06:44:29Z</expire-at><entry><content>content_nqhgyv0205</content></entry></data>

2020-09-15 23:44:34 | target: http://localhost:8088

2020-09-15 23:44:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-15 23:44:34 | entity: <data><node>node_k1ezdf0203</node><expire-at>2020-09-16T06:44:29Z</expire-at><entry><content>content_nqhgyv0205</content></entry></data>

2020-09-15 23:44:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:44:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-15 23:44:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>586cedca-0636-4f87-b84c-07192afd001c</value></item-id></result>

2020-09-15 23:44:34 | contains: true

2020-09-15 23:44:34 | [Mutex] waiting for: [user_regularw2p4ce0202@test-domain.com:message:received:content_nqhgyv0205]

2020-09-15 23:44:49 | [Mutex] timeout. Not received [user_regularw2p4ce0202@test-domain.com:message:received:content_nqhgyv0205]

2020-09-15 23:44:49 | [Mutex] isItemNotified: user_regularw2p4ce0202@test-domain.com:message:received:content_nqhgyv0205 :: false

2020-09-15 23:44:49 |


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


2020-09-15 23:44:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-15 23:44:49 | command: <data><node>node_k1ezdf0203</node><entry><content>content_lb1myd0206</content></entry></data>

2020-09-15 23:44:49 | target: http://localhost:8088

2020-09-15 23:44:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-15 23:44:49 | entity: <data><node>node_k1ezdf0203</node><entry><content>content_lb1myd0206</content></entry></data>

2020-09-15 23:44:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:44:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-15 23:44:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85882ace-3975-4b5f-abcd-68e49a74eb94</value></item-id></result>

2020-09-15 23:44:49 | contains: true

2020-09-15 23:44:55 | [Mutex] waiting for: [user_regularw2p4ce0202@test-domain.com:message:received:content_lb1myd0206]

2020-09-15 23:44:55 | [Mutex] waiting for: [user_regularw2p4ce0202@test-domain.com:message:received:content_lb1myd0206]

2020-09-15 23:44:55 | [Mutex] received everything.

2020-09-15 23:44:55 | [Mutex] isItemNotified: user_regularw2p4ce0202@test-domain.com:message:received:content_lb1myd0206 :: true

2020-09-15 23:44:55 |


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


2020-09-15 23:44:55 | [Mutex] received everything.

2020-09-15 23:44:55 | [Mutex] isItemNotified: node_k1ezdf0203:subscribe_node:success :: true

2020-09-15 23:44:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-15 23:44:55 | command: <data><node>node_k1ezdf0203</node><expire-at>2020-09-16T06:45:00Z</expire-at><entry><content>content_bdiu4y0207</content></entry></data>

2020-09-15 23:44:55 | target: http://localhost:8088

2020-09-15 23:44:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-15 23:44:55 | entity: <data><node>node_k1ezdf0203</node><expire-at>2020-09-16T06:45:00Z</expire-at><entry><content>content_bdiu4y0207</content></entry></data>

2020-09-15 23:44:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 06:44:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-15 23:44:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af76b33a-2a1e-47b2-8911-11e783d2f5fa</value></item-id></result>

2020-09-15 23:44:55 | contains: true

2020-09-15 23:45:03 | [Mutex] waiting for: [user_regularw2p4ce0202@test-domain.com:message:received:content_bdiu4y0207]

2020-09-15 23:45:03 | [Mutex] waiting for: [user_regularw2p4ce0202@test-domain.com:message:received:content_bdiu4y0207]

2020-09-15 23:45:18 | [Mutex] timeout. Not received [user_regularw2p4ce0202@test-domain.com:message:received:content_bdiu4y0207]

2020-09-15 23:45:18 | [Mutex] received everything.

2020-09-15 23:45:18 | [Mutex] isItemNotified: user_regularw2p4ce0202@test-domain.com:message:received:content_bdiu4y0207 :: false

2020-09-15 23:45:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bdiu4y0207 :: true