Generated by TestNG with ReportNG at 22:18 PDT on Friday 22 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.603s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.598s
2022-07-22 22:33:23 |

2022-07-22 22:33:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-22 22:33:23 | ------------------------------------

2022-07-22 22:33:23 | [Mutex] isItemNotified: node_e3mbe0204:exists :: false

2022-07-22 22:33:23 | [Mutex] waiting for: [node_e3mbe0204:create_node]

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

2022-07-22 22:33:23 | [Mutex] isItemNotified: node_e3mbe0204:create_node:success :: true

2022-07-22 22:33:23 | [Mutex] waiting for: [node_e3mbe0204:subscribe_node]

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

2022-07-22 22:33:23 | [Mutex] isItemNotified: node_e3mbe0204:subscribe_node:success :: true

2022-07-22 22:33:23 |


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


2022-07-22 22:33:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-22 22:33:23 | command: <data><node>node_e3mbe0204</node><entry><content>content_n710qp0205</content></entry></data>

2022-07-22 22:33:23 | target: http://localhost:8088

2022-07-22 22:33:23 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-07-22 22:33:23 | entity: <data><node>node_e3mbe0204</node><entry><content>content_n710qp0205</content></entry></data>

2022-07-22 22:33:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 05:33:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-22 22:33:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e42afe0f-101f-437f-aef6-78b89a3f0ccc</value></item-id></result>

2022-07-22 22:33:23 | contains: true

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

2022-07-22 22:33:23 | [Mutex] isItemNotified: user_regularn2jp0i0203@test-domain.com:message:received:content_n710qp0205 :: true

2022-07-22 22:33:23 |


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


2022-07-22 22:33:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-22 22:33:23 | command: <data><node>node_e3mbe0204</node><expire-at>2022-07-23T05:33:18Z</expire-at><entry><content>content_qnux7e0206</content></entry></data>

2022-07-22 22:33:23 | target: http://localhost:8088

2022-07-22 22:33:23 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-07-22 22:33:23 | entity: <data><node>node_e3mbe0204</node><expire-at>2022-07-23T05:33:18Z</expire-at><entry><content>content_qnux7e0206</content></entry></data>

2022-07-22 22:33:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 05:33:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-22 22:33:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ca1beca-4c4c-4071-8e5a-65567df42656</value></item-id></result>

2022-07-22 22:33:23 | contains: true

2022-07-22 22:33:23 | [Mutex] waiting for: [user_regularn2jp0i0203@test-domain.com:message:received:content_qnux7e0206]

2022-07-22 22:33:38 | [Mutex] timeout. Not received [user_regularn2jp0i0203@test-domain.com:message:received:content_qnux7e0206]

2022-07-22 22:33:38 | [Mutex] isItemNotified: user_regularn2jp0i0203@test-domain.com:message:received:content_qnux7e0206 :: false

2022-07-22 22:33:38 |


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


2022-07-22 22:33:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-22 22:33:38 | command: <data><node>node_e3mbe0204</node><entry><content>content_i5y1330207</content></entry></data>

2022-07-22 22:33:38 | target: http://localhost:8088

2022-07-22 22:33:38 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-07-22 22:33:38 | entity: <data><node>node_e3mbe0204</node><entry><content>content_i5y1330207</content></entry></data>

2022-07-22 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-22 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fd33fe48-41c9-4b53-b663-0374e0a7db79</value></item-id></result>

2022-07-22 22:33:39 | contains: true

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

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

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

2022-07-22 22:33:44 | [Mutex] waiting for: [user_regularn2jp0i0203@test-domain.com:message:received:content_i5y1330207]

2022-07-22 22:33:44 | [Mutex] waiting for: [user_regularn2jp0i0203@test-domain.com:message:received:content_i5y1330207]

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

2022-07-22 22:33:44 | [Mutex] isItemNotified: user_regularn2jp0i0203@test-domain.com:message:received:content_i5y1330207 :: true

2022-07-22 22:33:44 |


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


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

2022-07-22 22:33:44 | [Mutex] isItemNotified: node_e3mbe0204:subscribe_node:success :: true

2022-07-22 22:33:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-22 22:33:44 | command: <data><node>node_e3mbe0204</node><expire-at>2022-07-23T05:33:49Z</expire-at><entry><content>content_sw7gby0208</content></entry></data>

2022-07-22 22:33:44 | target: http://localhost:8088

2022-07-22 22:33:44 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-07-22 22:33:44 | entity: <data><node>node_e3mbe0204</node><expire-at>2022-07-23T05:33:49Z</expire-at><entry><content>content_sw7gby0208</content></entry></data>

2022-07-22 22:33:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 05:33:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-22 22:33:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1212edf2-2f49-4e4d-895c-7c4317a398ea</value></item-id></result>

2022-07-22 22:33:44 | contains: true

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

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

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

2022-07-22 22:33:52 | [Mutex] waiting for: [user_regularn2jp0i0203@test-domain.com:message:received:content_sw7gby0208]

2022-07-22 22:34:07 | [Mutex] timeout. Not received [user_regularn2jp0i0203@test-domain.com:message:received:content_sw7gby0208]

2022-07-22 22:34:07 | [Mutex] received everything.

2022-07-22 22:34:07 | [Mutex] isItemNotified: user_regularn2jp0i0203@test-domain.com:message:received:content_sw7gby0208 :: false

2022-07-22 22:34:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sw7gby0208 :: true