Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 02 August 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.464s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.556s
2022-08-02 22:34:09 |

2022-08-02 22:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-02 22:34:09 | ------------------------------------

2022-08-02 22:34:09 | [Mutex] isItemNotified: node_6sjbyp0204:exists :: false

2022-08-02 22:34:09 | [Mutex] waiting for: [node_6sjbyp0204:create_node]

2022-08-02 22:34:09 | [Mutex] received everything.

2022-08-02 22:34:09 | [Mutex] isItemNotified: node_6sjbyp0204:create_node:success :: true

2022-08-02 22:34:09 | [Mutex] waiting for: [node_6sjbyp0204:subscribe_node]

2022-08-02 22:34:09 | [Mutex] waiting for: [node_6sjbyp0204:subscribe_node]

2022-08-02 22:34:09 | [Mutex] received everything.

2022-08-02 22:34:09 | [Mutex] isItemNotified: node_6sjbyp0204:subscribe_node:success :: true

2022-08-02 22:34:09 |


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


2022-08-02 22:34:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 22:34:09 | command: <data><node>node_6sjbyp0204</node><entry><content>content_92529i0205</content></entry></data>

2022-08-02 22:34:09 | target: http://localhost:8088

2022-08-02 22:34:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-02 22:34:09 | entity: <data><node>node_6sjbyp0204</node><entry><content>content_92529i0205</content></entry></data>

2022-08-02 22:34:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 22:34:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53df3dfb-2049-424b-bb64-fb5169fa2e2b</value></item-id></result>

2022-08-02 22:34:09 | contains: true

2022-08-02 22:34:09 | [Mutex] received everything.

2022-08-02 22:34:09 | [Mutex] isItemNotified: user_regularvm6vn00203@test-domain.com:message:received:content_92529i0205 :: true

2022-08-02 22:34:09 |


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


2022-08-02 22:34:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 22:34:09 | command: <data><node>node_6sjbyp0204</node><expire-at>2022-08-03T05:34:04Z</expire-at><entry><content>content_jlj0sd0206</content></entry></data>

2022-08-02 22:34:09 | target: http://localhost:8088

2022-08-02 22:34:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-02 22:34:09 | entity: <data><node>node_6sjbyp0204</node><expire-at>2022-08-03T05:34:04Z</expire-at><entry><content>content_jlj0sd0206</content></entry></data>

2022-08-02 22:34:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 22:34:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7e687c51-0b76-4a6c-ba34-761d3d093240</value></item-id></result>

2022-08-02 22:34:09 | contains: true

2022-08-02 22:34:09 | [Mutex] waiting for: [user_regularvm6vn00203@test-domain.com:message:received:content_jlj0sd0206]

2022-08-02 22:34:24 | [Mutex] timeout. Not received [user_regularvm6vn00203@test-domain.com:message:received:content_jlj0sd0206]

2022-08-02 22:34:24 | [Mutex] isItemNotified: user_regularvm6vn00203@test-domain.com:message:received:content_jlj0sd0206 :: false

2022-08-02 22:34:24 |


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


2022-08-02 22:34:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 22:34:24 | command: <data><node>node_6sjbyp0204</node><entry><content>content_wratk70207</content></entry></data>

2022-08-02 22:34:24 | target: http://localhost:8088

2022-08-02 22:34:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-02 22:34:24 | entity: <data><node>node_6sjbyp0204</node><entry><content>content_wratk70207</content></entry></data>

2022-08-02 22:34:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 22:34:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ca2c935-2a98-4bfd-a3a3-886862b4db7d</value></item-id></result>

2022-08-02 22:34:24 | contains: true

2022-08-02 22:34:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-02 22:34:29 | [Mutex] waiting for: [user_regularvm6vn00203@test-domain.com:message:received:content_wratk70207]

2022-08-02 22:34:29 | [Mutex] received everything.

2022-08-02 22:34:29 | [Mutex] isItemNotified: user_regularvm6vn00203@test-domain.com:message:received:content_wratk70207 :: true

2022-08-02 22:34:29 |


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


2022-08-02 22:34:29 | [Mutex] received everything.

2022-08-02 22:34:29 | [Mutex] isItemNotified: node_6sjbyp0204:subscribe_node:success :: true

2022-08-02 22:34:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 22:34:29 | command: <data><node>node_6sjbyp0204</node><expire-at>2022-08-03T05:34:34Z</expire-at><entry><content>content_dj28dm0208</content></entry></data>

2022-08-02 22:34:29 | target: http://localhost:8088

2022-08-02 22:34:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-02 22:34:29 | entity: <data><node>node_6sjbyp0204</node><expire-at>2022-08-03T05:34:34Z</expire-at><entry><content>content_dj28dm0208</content></entry></data>

2022-08-02 22:34:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 05:34:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 22:34:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2c34c5a4-80eb-4560-8a11-857d4bb8c575</value></item-id></result>

2022-08-02 22:34:29 | contains: true

2022-08-02 22:34:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-02 22:34:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-02 22:34:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-02 22:34:37 | [Mutex] waiting for: [user_regularvm6vn00203@test-domain.com:message:received:content_dj28dm0208]

2022-08-02 22:34:52 | [Mutex] timeout. Not received [user_regularvm6vn00203@test-domain.com:message:received:content_dj28dm0208]

2022-08-02 22:34:52 | [Mutex] received everything.

2022-08-02 22:34:52 | [Mutex] isItemNotified: user_regularvm6vn00203@test-domain.com:message:received:content_dj28dm0208 :: false

2022-08-02 22:34:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dj28dm0208 :: true