Generated by TestNG with ReportNG at 09:27 PDT on Tuesday 24 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 44.795s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.560s
2022-05-24 09:42:52 |

2022-05-24 09:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-24 09:42:52 | ------------------------------------

2022-05-24 09:42:52 | [Mutex] isItemNotified: node_w8zikx0204:exists :: false

2022-05-24 09:42:52 | [Mutex] waiting for: [node_w8zikx0204:create_node]

2022-05-24 09:42:52 | [Mutex] received everything.

2022-05-24 09:42:52 | [Mutex] isItemNotified: node_w8zikx0204:create_node:success :: true

2022-05-24 09:42:52 | [Mutex] waiting for: [node_w8zikx0204:subscribe_node]

2022-05-24 09:42:52 | [Mutex] waiting for: [node_w8zikx0204:subscribe_node]

2022-05-24 09:42:52 | [Mutex] received everything.

2022-05-24 09:42:52 | [Mutex] isItemNotified: node_w8zikx0204:subscribe_node:success :: true

2022-05-24 09:42:52 |


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


2022-05-24 09:42:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:42:52 | command: <data><node>node_w8zikx0204</node><entry><content>content_vg4ee10205</content></entry></data>

2022-05-24 09:42:52 | target: http://localhost:8088

2022-05-24 09:42:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 09:42:52 | entity: <data><node>node_w8zikx0204</node><entry><content>content_vg4ee10205</content></entry></data>

2022-05-24 09:42:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:42:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:42:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1f4f655-3b04-4afe-b1d2-fa5d4b1ad2e0</value></item-id></result>

2022-05-24 09:42:52 | contains: true

2022-05-24 09:42:52 | [Mutex] received everything.

2022-05-24 09:42:52 | [Mutex] isItemNotified: user_regular95hzkw0203@test-domain.com:message:received:content_vg4ee10205 :: true

2022-05-24 09:42:52 |


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


2022-05-24 09:42:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:42:52 | command: <data><node>node_w8zikx0204</node><expire-at>2022-05-24T16:42:47Z</expire-at><entry><content>content_wvowb0206</content></entry></data>

2022-05-24 09:42:52 | target: http://localhost:8088

2022-05-24 09:42:52 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-05-24 09:42:52 | entity: <data><node>node_w8zikx0204</node><expire-at>2022-05-24T16:42:47Z</expire-at><entry><content>content_wvowb0206</content></entry></data>

2022-05-24 09:42:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:42:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:42:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1bc2ee9e-b5de-4f56-9f1d-2ec74b8ac7b7</value></item-id></result>

2022-05-24 09:42:53 | contains: true

2022-05-24 09:42:53 | [Mutex] waiting for: [user_regular95hzkw0203@test-domain.com:message:received:content_wvowb0206]

2022-05-24 09:43:08 | [Mutex] timeout. Not received [user_regular95hzkw0203@test-domain.com:message:received:content_wvowb0206]

2022-05-24 09:43:08 | [Mutex] isItemNotified: user_regular95hzkw0203@test-domain.com:message:received:content_wvowb0206 :: false

2022-05-24 09:43:08 |


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


2022-05-24 09:43:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:43:08 | command: <data><node>node_w8zikx0204</node><entry><content>content_naqy670207</content></entry></data>

2022-05-24 09:43:08 | target: http://localhost:8088

2022-05-24 09:43:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-24 09:43:08 | entity: <data><node>node_w8zikx0204</node><entry><content>content_naqy670207</content></entry></data>

2022-05-24 09:43:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:43:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:43:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>23308a46-79a4-4e6b-95e4-ff9a0d570d2a</value></item-id></result>

2022-05-24 09:43:08 | contains: true

2022-05-24 09:43:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 09:43:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 09:43:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 09:43:13 | [Mutex] waiting for: [user_regular95hzkw0203@test-domain.com:message:received:content_naqy670207]

2022-05-24 09:43:13 | [Mutex] waiting for: [user_regular95hzkw0203@test-domain.com:message:received:content_naqy670207]

2022-05-24 09:43:13 | [Mutex] received everything.

2022-05-24 09:43:13 | [Mutex] isItemNotified: user_regular95hzkw0203@test-domain.com:message:received:content_naqy670207 :: true

2022-05-24 09:43:13 |


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


2022-05-24 09:43:13 | [Mutex] received everything.

2022-05-24 09:43:13 | [Mutex] isItemNotified: node_w8zikx0204:subscribe_node:success :: true

2022-05-24 09:43:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-24 09:43:13 | command: <data><node>node_w8zikx0204</node><expire-at>2022-05-24T16:43:18Z</expire-at><entry><content>content_bioqrv0208</content></entry></data>

2022-05-24 09:43:13 | target: http://localhost:8088

2022-05-24 09:43:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-24 09:43:13 | entity: <data><node>node_w8zikx0204</node><expire-at>2022-05-24T16:43:18Z</expire-at><entry><content>content_bioqrv0208</content></entry></data>

2022-05-24 09:43:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 May 2022 16:43:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-24 09:43:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>530b2fec-5211-4dd1-8ddf-34255a2c83f7</value></item-id></result>

2022-05-24 09:43:13 | contains: true

2022-05-24 09:43:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-24 09:43:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-24 09:43:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-24 09:43:21 | [Mutex] waiting for: [user_regular95hzkw0203@test-domain.com:message:received:content_bioqrv0208]

2022-05-24 09:43:36 | [Mutex] timeout. Not received [user_regular95hzkw0203@test-domain.com:message:received:content_bioqrv0208]

2022-05-24 09:43:36 | [Mutex] received everything.

2022-05-24 09:43:36 | [Mutex] isItemNotified: user_regular95hzkw0203@test-domain.com:message:received:content_bioqrv0208 :: false

2022-05-24 09:43:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bioqrv0208 :: true