Generated by TestNG with ReportNG at 22:31 PDT on Thursday 30 June 2022
root@7c41cec37518 / 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 : 45.256s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.726s
2022-06-30 22:45:44 |

2022-06-30 22:45:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-30 22:45:44 | ------------------------------------

2022-06-30 22:45:44 | [Mutex] isItemNotified: node_nim5060204:exists :: false

2022-06-30 22:45:44 | [Mutex] waiting for: [node_nim5060204:create_node]

2022-06-30 22:45:44 | [Mutex] received everything.

2022-06-30 22:45:44 | [Mutex] isItemNotified: node_nim5060204:create_node:success :: true

2022-06-30 22:45:44 | [Mutex] waiting for: [node_nim5060204:subscribe_node]

2022-06-30 22:45:44 | [Mutex] received everything.

2022-06-30 22:45:44 | [Mutex] isItemNotified: node_nim5060204:subscribe_node:success :: true

2022-06-30 22:45:44 |


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


2022-06-30 22:45:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:45:44 | command: <data><node>node_nim5060204</node><entry><content>content_z376dn0205</content></entry></data>

2022-06-30 22:45:44 | target: http://localhost:8088

2022-06-30 22:45:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-30 22:45:44 | entity: <data><node>node_nim5060204</node><entry><content>content_z376dn0205</content></entry></data>

2022-06-30 22:45:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:45:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:45:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>70c1a361-8687-4733-97ac-de8164191f7f</value></item-id></result>

2022-06-30 22:45:44 | contains: true

2022-06-30 22:45:44 | [Mutex] received everything.

2022-06-30 22:45:44 | [Mutex] isItemNotified: user_regularqjqpl90203@test-domain.com:message:received:content_z376dn0205 :: true

2022-06-30 22:45:44 |


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


2022-06-30 22:45:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:45:44 | command: <data><node>node_nim5060204</node><expire-at>2022-07-01T05:45:39Z</expire-at><entry><content>content_8iy84n0206</content></entry></data>

2022-06-30 22:45:44 | target: http://localhost:8088

2022-06-30 22:45:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-30 22:45:44 | entity: <data><node>node_nim5060204</node><expire-at>2022-07-01T05:45:39Z</expire-at><entry><content>content_8iy84n0206</content></entry></data>

2022-06-30 22:45:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:45:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:45:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a096caf9-ebd3-4078-94ad-0d7dcda42804</value></item-id></result>

2022-06-30 22:45:44 | contains: true

2022-06-30 22:45:44 | [Mutex] waiting for: [user_regularqjqpl90203@test-domain.com:message:received:content_8iy84n0206]

2022-06-30 22:45:59 | [Mutex] timeout. Not received [user_regularqjqpl90203@test-domain.com:message:received:content_8iy84n0206]

2022-06-30 22:45:59 | [Mutex] isItemNotified: user_regularqjqpl90203@test-domain.com:message:received:content_8iy84n0206 :: false

2022-06-30 22:45:59 |


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


2022-06-30 22:45:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:45:59 | command: <data><node>node_nim5060204</node><entry><content>content_wetlr40207</content></entry></data>

2022-06-30 22:45:59 | target: http://localhost:8088

2022-06-30 22:45:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-30 22:45:59 | entity: <data><node>node_nim5060204</node><entry><content>content_wetlr40207</content></entry></data>

2022-06-30 22:45:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:45:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:45:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f30aebbe-0a7f-46d4-aca4-1217d335e27c</value></item-id></result>

2022-06-30 22:45:59 | contains: true

2022-06-30 22:46:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-30 22:46:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-30 22:46:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-30 22:46:04 | [Mutex] waiting for: [user_regularqjqpl90203@test-domain.com:message:received:content_wetlr40207]

2022-06-30 22:46:04 | [Mutex] received everything.

2022-06-30 22:46:04 | [Mutex] isItemNotified: user_regularqjqpl90203@test-domain.com:message:received:content_wetlr40207 :: true

2022-06-30 22:46:04 |


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


2022-06-30 22:46:04 | [Mutex] received everything.

2022-06-30 22:46:04 | [Mutex] isItemNotified: node_nim5060204:subscribe_node:success :: true

2022-06-30 22:46:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-30 22:46:04 | command: <data><node>node_nim5060204</node><expire-at>2022-07-01T05:46:09Z</expire-at><entry><content>content_l5gtij0208</content></entry></data>

2022-06-30 22:46:04 | target: http://localhost:8088

2022-06-30 22:46:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-30 22:46:04 | entity: <data><node>node_nim5060204</node><expire-at>2022-07-01T05:46:09Z</expire-at><entry><content>content_l5gtij0208</content></entry></data>

2022-06-30 22:46:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 01 Jul 2022 05:46:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-30 22:46:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>10069884-1b39-4b78-b46d-110f48517a88</value></item-id></result>

2022-06-30 22:46:04 | contains: true

2022-06-30 22:46:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-30 22:46:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-30 22:46:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-30 22:46:12 | [Mutex] waiting for: [user_regularqjqpl90203@test-domain.com:message:received:content_l5gtij0208]

2022-06-30 22:46:27 | [Mutex] timeout. Not received [user_regularqjqpl90203@test-domain.com:message:received:content_l5gtij0208]

2022-06-30 22:46:27 | [Mutex] received everything.

2022-06-30 22:46:27 | [Mutex] isItemNotified: user_regularqjqpl90203@test-domain.com:message:received:content_l5gtij0208 :: false

2022-06-30 22:46:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l5gtij0208 :: true