Generated by TestNG with ReportNG at 22:19 PDT on Sunday 28 August 2022
root@ed1b7dd8a1b3 / 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.772s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.622s
2022-08-28 22:34:36 |

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

2022-08-28 22:34:36 | ------------------------------------

2022-08-28 22:34:36 | [Mutex] isItemNotified: node_22vrs70204:exists :: false

2022-08-28 22:34:36 | [Mutex] waiting for: [node_22vrs70204:create_node]

2022-08-28 22:34:36 | [Mutex] received everything.

2022-08-28 22:34:36 | [Mutex] isItemNotified: node_22vrs70204:create_node:success :: true

2022-08-28 22:34:36 | [Mutex] waiting for: [node_22vrs70204:subscribe_node]

2022-08-28 22:34:36 | [Mutex] waiting for: [node_22vrs70204:subscribe_node]

2022-08-28 22:34:36 | [Mutex] received everything.

2022-08-28 22:34:36 | [Mutex] isItemNotified: node_22vrs70204:subscribe_node:success :: true

2022-08-28 22:34:36 |


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


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

2022-08-28 22:34:36 | command: <data><node>node_22vrs70204</node><entry><content>content_ufy8pg0205</content></entry></data>

2022-08-28 22:34:36 | target: http://localhost:8088

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

2022-08-28 22:34:36 | entity: <data><node>node_22vrs70204</node><entry><content>content_ufy8pg0205</content></entry></data>

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

2022-08-28 22:34:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c173b57-261f-4782-a523-62bcf74d2227</value></item-id></result>

2022-08-28 22:34:36 | contains: true

2022-08-28 22:34:36 | [Mutex] received everything.

2022-08-28 22:34:36 | [Mutex] isItemNotified: user_regulariz53v0203@test-domain.com:message:received:content_ufy8pg0205 :: true

2022-08-28 22:34:36 |


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


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

2022-08-28 22:34:36 | command: <data><node>node_22vrs70204</node><expire-at>2022-08-29T05:34:31Z</expire-at><entry><content>content_nhhz820206</content></entry></data>

2022-08-28 22:34:36 | target: http://localhost:8088

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

2022-08-28 22:34:36 | entity: <data><node>node_22vrs70204</node><expire-at>2022-08-29T05:34:31Z</expire-at><entry><content>content_nhhz820206</content></entry></data>

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

2022-08-28 22:34:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fd5e901a-06f0-4cc7-bd7e-ca7f2765b61c</value></item-id></result>

2022-08-28 22:34:36 | contains: true

2022-08-28 22:34:36 | [Mutex] waiting for: [user_regulariz53v0203@test-domain.com:message:received:content_nhhz820206]

2022-08-28 22:34:51 | [Mutex] timeout. Not received [user_regulariz53v0203@test-domain.com:message:received:content_nhhz820206]

2022-08-28 22:34:51 | [Mutex] isItemNotified: user_regulariz53v0203@test-domain.com:message:received:content_nhhz820206 :: false

2022-08-28 22:34:51 |


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


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

2022-08-28 22:34:51 | command: <data><node>node_22vrs70204</node><entry><content>content_c8gjt10207</content></entry></data>

2022-08-28 22:34:51 | target: http://localhost:8088

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

2022-08-28 22:34:51 | entity: <data><node>node_22vrs70204</node><entry><content>content_c8gjt10207</content></entry></data>

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

2022-08-28 22:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>843ec570-1371-487c-b7f5-feb008c29aec</value></item-id></result>

2022-08-28 22:34:51 | contains: true

2022-08-28 22:34:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-28 22:34:56 | [Mutex] waiting for: [user_regulariz53v0203@test-domain.com:message:received:content_c8gjt10207]

2022-08-28 22:34:56 | [Mutex] received everything.

2022-08-28 22:34:56 | [Mutex] isItemNotified: user_regulariz53v0203@test-domain.com:message:received:content_c8gjt10207 :: true

2022-08-28 22:34:56 |


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


2022-08-28 22:34:56 | [Mutex] received everything.

2022-08-28 22:34:56 | [Mutex] isItemNotified: node_22vrs70204:subscribe_node:success :: true

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

2022-08-28 22:34:56 | command: <data><node>node_22vrs70204</node><expire-at>2022-08-29T05:35:01Z</expire-at><entry><content>content_o9k4ge0208</content></entry></data>

2022-08-28 22:34:56 | target: http://localhost:8088

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

2022-08-28 22:34:56 | entity: <data><node>node_22vrs70204</node><expire-at>2022-08-29T05:35:01Z</expire-at><entry><content>content_o9k4ge0208</content></entry></data>

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

2022-08-28 22:34:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15f2ac6b-cbb4-483a-a3df-8612f21eef91</value></item-id></result>

2022-08-28 22:34:56 | contains: true

2022-08-28 22:35:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-28 22:35:04 | [Mutex] waiting for: [user_regulariz53v0203@test-domain.com:message:received:content_o9k4ge0208]

2022-08-28 22:35:19 | [Mutex] timeout. Not received [user_regulariz53v0203@test-domain.com:message:received:content_o9k4ge0208]

2022-08-28 22:35:19 | [Mutex] received everything.

2022-08-28 22:35:19 | [Mutex] isItemNotified: user_regulariz53v0203@test-domain.com:message:received:content_o9k4ge0208 :: false

2022-08-28 22:35:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o9k4ge0208 :: true