Generated by TestNG with ReportNG at 22:18 PDT on Monday 25 July 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.506s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.573s
2022-07-25 22:32:35 |

2022-07-25 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-25 22:32:35 | ------------------------------------

2022-07-25 22:32:35 | [Mutex] isItemNotified: node_rvdq3o0204:exists :: false

2022-07-25 22:32:35 | [Mutex] waiting for: [node_rvdq3o0204:create_node]

2022-07-25 22:32:35 | [Mutex] received everything.

2022-07-25 22:32:35 | [Mutex] isItemNotified: node_rvdq3o0204:create_node:success :: true

2022-07-25 22:32:35 | [Mutex] waiting for: [node_rvdq3o0204:subscribe_node]

2022-07-25 22:32:35 | [Mutex] received everything.

2022-07-25 22:32:35 | [Mutex] isItemNotified: node_rvdq3o0204:subscribe_node:success :: true

2022-07-25 22:32:35 |


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


2022-07-25 22:32:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 22:32:35 | command: <data><node>node_rvdq3o0204</node><entry><content>content_2f12qm0205</content></entry></data>

2022-07-25 22:32:35 | target: http://localhost:8088

2022-07-25 22:32:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-25 22:32:35 | entity: <data><node>node_rvdq3o0204</node><entry><content>content_2f12qm0205</content></entry></data>

2022-07-25 22:32:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 05:32:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 22:32:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>770ef75a-1d0f-4862-9da5-3db5e7e44bf5</value></item-id></result>

2022-07-25 22:32:35 | contains: true

2022-07-25 22:32:35 | [Mutex] received everything.

2022-07-25 22:32:35 | [Mutex] isItemNotified: user_regularc7d83w0203@test-domain.com:message:received:content_2f12qm0205 :: true

2022-07-25 22:32:35 |


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


2022-07-25 22:32:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 22:32:35 | command: <data><node>node_rvdq3o0204</node><expire-at>2022-07-26T05:32:30Z</expire-at><entry><content>content_978a3o0206</content></entry></data>

2022-07-25 22:32:35 | target: http://localhost:8088

2022-07-25 22:32:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-25 22:32:35 | entity: <data><node>node_rvdq3o0204</node><expire-at>2022-07-26T05:32:30Z</expire-at><entry><content>content_978a3o0206</content></entry></data>

2022-07-25 22:32:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 05:32:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 22:32:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b84aac5-86c4-43d0-a01a-8ad9b4df3c62</value></item-id></result>

2022-07-25 22:32:35 | contains: true

2022-07-25 22:32:35 | [Mutex] waiting for: [user_regularc7d83w0203@test-domain.com:message:received:content_978a3o0206]

2022-07-25 22:32:50 | [Mutex] timeout. Not received [user_regularc7d83w0203@test-domain.com:message:received:content_978a3o0206]

2022-07-25 22:32:50 | [Mutex] isItemNotified: user_regularc7d83w0203@test-domain.com:message:received:content_978a3o0206 :: false

2022-07-25 22:32:50 |


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


2022-07-25 22:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 22:32:50 | command: <data><node>node_rvdq3o0204</node><entry><content>content_lfgu0y0207</content></entry></data>

2022-07-25 22:32:50 | target: http://localhost:8088

2022-07-25 22:32:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-25 22:32:50 | entity: <data><node>node_rvdq3o0204</node><entry><content>content_lfgu0y0207</content></entry></data>

2022-07-25 22:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 05:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 22:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a2167dc1-5414-4f68-a0a9-1f5015ed46b6</value></item-id></result>

2022-07-25 22:32:50 | contains: true

2022-07-25 22:32:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-25 22:32:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-25 22:32:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-25 22:32:55 | [Mutex] waiting for: [user_regularc7d83w0203@test-domain.com:message:received:content_lfgu0y0207]

2022-07-25 22:32:55 | [Mutex] received everything.

2022-07-25 22:32:55 | [Mutex] isItemNotified: user_regularc7d83w0203@test-domain.com:message:received:content_lfgu0y0207 :: true

2022-07-25 22:32:55 |


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


2022-07-25 22:32:55 | [Mutex] received everything.

2022-07-25 22:32:55 | [Mutex] isItemNotified: node_rvdq3o0204:subscribe_node:success :: true

2022-07-25 22:32:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-25 22:32:55 | command: <data><node>node_rvdq3o0204</node><expire-at>2022-07-26T05:33:00Z</expire-at><entry><content>content_ox03m0208</content></entry></data>

2022-07-25 22:32:55 | target: http://localhost:8088

2022-07-25 22:32:55 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-07-25 22:32:55 | entity: <data><node>node_rvdq3o0204</node><expire-at>2022-07-26T05:33:00Z</expire-at><entry><content>content_ox03m0208</content></entry></data>

2022-07-25 22:32:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Jul 2022 05:32:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-25 22:32:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>54a1e677-4089-40a0-bcb3-5a9c2bef2ac7</value></item-id></result>

2022-07-25 22:32:55 | contains: true

2022-07-25 22:33:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-25 22:33:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-25 22:33:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-25 22:33:03 | [Mutex] waiting for: [user_regularc7d83w0203@test-domain.com:message:received:content_ox03m0208]

2022-07-25 22:33:18 | [Mutex] timeout. Not received [user_regularc7d83w0203@test-domain.com:message:received:content_ox03m0208]

2022-07-25 22:33:18 | [Mutex] received everything.

2022-07-25 22:33:18 | [Mutex] isItemNotified: user_regularc7d83w0203@test-domain.com:message:received:content_ox03m0208 :: false

2022-07-25 22:33:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ox03m0208 :: true