Generated by TestNG with ReportNG at 22:36 PDT on Sunday 29 May 2022
root@1bc69cf4cb94 / 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.878s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.772s
2022-05-29 22:51:51 |

2022-05-29 22:51:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-29 22:51:51 | ------------------------------------

2022-05-29 22:51:51 | [Mutex] isItemNotified: node_5wcg8p0204:exists :: false

2022-05-29 22:51:51 | [Mutex] waiting for: [node_5wcg8p0204:create_node]

2022-05-29 22:51:51 | [Mutex] waiting for: [node_5wcg8p0204:create_node]

2022-05-29 22:51:51 | [Mutex] received everything.

2022-05-29 22:51:51 | [Mutex] isItemNotified: node_5wcg8p0204:create_node:success :: true

2022-05-29 22:51:51 | [Mutex] waiting for: [node_5wcg8p0204:subscribe_node]

2022-05-29 22:51:51 | [Mutex] received everything.

2022-05-29 22:51:51 | [Mutex] isItemNotified: node_5wcg8p0204:subscribe_node:success :: true

2022-05-29 22:51:51 |


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


2022-05-29 22:51:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 22:51:51 | command: <data><node>node_5wcg8p0204</node><entry><content>content_o8csgi0205</content></entry></data>

2022-05-29 22:51:51 | target: http://localhost:8088

2022-05-29 22:51:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-29 22:51:51 | entity: <data><node>node_5wcg8p0204</node><entry><content>content_o8csgi0205</content></entry></data>

2022-05-29 22:51:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:51:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 22:51:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a16bcdb-d8fd-4162-9a7b-47a32854ebf7</value></item-id></result>

2022-05-29 22:51:51 | contains: true

2022-05-29 22:51:51 | [Mutex] received everything.

2022-05-29 22:51:51 | [Mutex] isItemNotified: user_regulargkvih90203@test-domain.com:message:received:content_o8csgi0205 :: true

2022-05-29 22:51:51 |


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


2022-05-29 22:51:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 22:51:51 | command: <data><node>node_5wcg8p0204</node><expire-at>2022-05-30T05:51:46Z</expire-at><entry><content>content_ev21w80206</content></entry></data>

2022-05-29 22:51:51 | target: http://localhost:8088

2022-05-29 22:51:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-29 22:51:51 | entity: <data><node>node_5wcg8p0204</node><expire-at>2022-05-30T05:51:46Z</expire-at><entry><content>content_ev21w80206</content></entry></data>

2022-05-29 22:51:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:51:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 22:51:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e53f17a3-6c76-4881-adbe-1ea009028d04</value></item-id></result>

2022-05-29 22:51:51 | contains: true

2022-05-29 22:51:51 | [Mutex] waiting for: [user_regulargkvih90203@test-domain.com:message:received:content_ev21w80206]

2022-05-29 22:52:06 | [Mutex] timeout. Not received [user_regulargkvih90203@test-domain.com:message:received:content_ev21w80206]

2022-05-29 22:52:06 | [Mutex] isItemNotified: user_regulargkvih90203@test-domain.com:message:received:content_ev21w80206 :: false

2022-05-29 22:52:06 |


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


2022-05-29 22:52:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 22:52:07 | command: <data><node>node_5wcg8p0204</node><entry><content>content_wqlydr0207</content></entry></data>

2022-05-29 22:52:07 | target: http://localhost:8088

2022-05-29 22:52:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-29 22:52:07 | entity: <data><node>node_5wcg8p0204</node><entry><content>content_wqlydr0207</content></entry></data>

2022-05-29 22:52:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:52:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 22:52:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b496e18-4c1b-459a-97e7-1bf4c2d00e22</value></item-id></result>

2022-05-29 22:52:07 | contains: true

2022-05-29 22:52:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-29 22:52:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-29 22:52:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-29 22:52:12 | [Mutex] waiting for: [user_regulargkvih90203@test-domain.com:message:received:content_wqlydr0207]

2022-05-29 22:52:12 | [Mutex] waiting for: [user_regulargkvih90203@test-domain.com:message:received:content_wqlydr0207]

2022-05-29 22:52:12 | [Mutex] received everything.

2022-05-29 22:52:12 | [Mutex] isItemNotified: user_regulargkvih90203@test-domain.com:message:received:content_wqlydr0207 :: true

2022-05-29 22:52:12 |


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


2022-05-29 22:52:12 | [Mutex] received everything.

2022-05-29 22:52:12 | [Mutex] isItemNotified: node_5wcg8p0204:subscribe_node:success :: true

2022-05-29 22:52:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-29 22:52:12 | command: <data><node>node_5wcg8p0204</node><expire-at>2022-05-30T05:52:17Z</expire-at><entry><content>content_5ylzv90208</content></entry></data>

2022-05-29 22:52:12 | target: http://localhost:8088

2022-05-29 22:52:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-29 22:52:12 | entity: <data><node>node_5wcg8p0204</node><expire-at>2022-05-30T05:52:17Z</expire-at><entry><content>content_5ylzv90208</content></entry></data>

2022-05-29 22:52:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:52:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-29 22:52:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dcb5d9c9-68c0-4f38-9464-ae6ea85f2d71</value></item-id></result>

2022-05-29 22:52:12 | contains: true

2022-05-29 22:52:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-29 22:52:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-29 22:52:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-29 22:52:20 | [Mutex] waiting for: [user_regulargkvih90203@test-domain.com:message:received:content_5ylzv90208]

2022-05-29 22:52:20 | [Mutex] waiting for: [user_regulargkvih90203@test-domain.com:message:received:content_5ylzv90208]

2022-05-29 22:52:35 | [Mutex] timeout. Not received [user_regulargkvih90203@test-domain.com:message:received:content_5ylzv90208]

2022-05-29 22:52:35 | [Mutex] received everything.

2022-05-29 22:52:35 | [Mutex] isItemNotified: user_regulargkvih90203@test-domain.com:message:received:content_5ylzv90208 :: false

2022-05-29 22:52:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5ylzv90208 :: true