Generated by TestNG with ReportNG at 22:48 PDT on Sunday 07 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.493s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.579s
2022-08-07 23:02:42 |

2022-08-07 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-07 23:02:42 | ------------------------------------

2022-08-07 23:02:42 | [Mutex] isItemNotified: node_qxqsap0204:exists :: false

2022-08-07 23:02:42 | [Mutex] waiting for: [node_qxqsap0204:create_node]

2022-08-07 23:02:42 | [Mutex] received everything.

2022-08-07 23:02:42 | [Mutex] isItemNotified: node_qxqsap0204:create_node:success :: true

2022-08-07 23:02:42 | [Mutex] waiting for: [node_qxqsap0204:subscribe_node]

2022-08-07 23:02:42 | [Mutex] waiting for: [node_qxqsap0204:subscribe_node]

2022-08-07 23:02:42 | [Mutex] received everything.

2022-08-07 23:02:42 | [Mutex] isItemNotified: node_qxqsap0204:subscribe_node:success :: true

2022-08-07 23:02:42 |


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


2022-08-07 23:02:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 23:02:42 | command: <data><node>node_qxqsap0204</node><entry><content>content_iuv38z0205</content></entry></data>

2022-08-07 23:02:42 | target: http://localhost:8088

2022-08-07 23:02:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-07 23:02:42 | entity: <data><node>node_qxqsap0204</node><entry><content>content_iuv38z0205</content></entry></data>

2022-08-07 23:02:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 06:02:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 23:02:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2184eb67-7eda-4a41-b3ff-de9446f5aeed</value></item-id></result>

2022-08-07 23:02:42 | contains: true

2022-08-07 23:02:42 | [Mutex] received everything.

2022-08-07 23:02:42 | [Mutex] isItemNotified: user_regularb1dvhh0203@test-domain.com:message:received:content_iuv38z0205 :: true

2022-08-07 23:02:42 |


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


2022-08-07 23:02:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 23:02:42 | command: <data><node>node_qxqsap0204</node><expire-at>2022-08-08T06:02:37Z</expire-at><entry><content>content_ufoxod0206</content></entry></data>

2022-08-07 23:02:42 | target: http://localhost:8088

2022-08-07 23:02:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-07 23:02:42 | entity: <data><node>node_qxqsap0204</node><expire-at>2022-08-08T06:02:37Z</expire-at><entry><content>content_ufoxod0206</content></entry></data>

2022-08-07 23:02:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 06:02:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 23:02:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2fc69eb-665f-40e9-acd6-d516c771ebc4</value></item-id></result>

2022-08-07 23:02:42 | contains: true

2022-08-07 23:02:42 | [Mutex] waiting for: [user_regularb1dvhh0203@test-domain.com:message:received:content_ufoxod0206]

2022-08-07 23:02:57 | [Mutex] timeout. Not received [user_regularb1dvhh0203@test-domain.com:message:received:content_ufoxod0206]

2022-08-07 23:02:57 | [Mutex] isItemNotified: user_regularb1dvhh0203@test-domain.com:message:received:content_ufoxod0206 :: false

2022-08-07 23:02:57 |


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


2022-08-07 23:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 23:02:57 | command: <data><node>node_qxqsap0204</node><entry><content>content_6u9af50207</content></entry></data>

2022-08-07 23:02:57 | target: http://localhost:8088

2022-08-07 23:02:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-07 23:02:57 | entity: <data><node>node_qxqsap0204</node><entry><content>content_6u9af50207</content></entry></data>

2022-08-07 23:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 23:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e6da2495-b11b-48ff-9e9f-a905cb6e9cdb</value></item-id></result>

2022-08-07 23:02:57 | contains: true

2022-08-07 23:03:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-07 23:03:02 | [Mutex] waiting for: [user_regularb1dvhh0203@test-domain.com:message:received:content_6u9af50207]

2022-08-07 23:03:02 | [Mutex] received everything.

2022-08-07 23:03:02 | [Mutex] isItemNotified: user_regularb1dvhh0203@test-domain.com:message:received:content_6u9af50207 :: true

2022-08-07 23:03:02 |


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


2022-08-07 23:03:02 | [Mutex] received everything.

2022-08-07 23:03:02 | [Mutex] isItemNotified: node_qxqsap0204:subscribe_node:success :: true

2022-08-07 23:03:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-07 23:03:02 | command: <data><node>node_qxqsap0204</node><expire-at>2022-08-08T06:03:07Z</expire-at><entry><content>content_y317j60208</content></entry></data>

2022-08-07 23:03:02 | target: http://localhost:8088

2022-08-07 23:03:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-07 23:03:02 | entity: <data><node>node_qxqsap0204</node><expire-at>2022-08-08T06:03:07Z</expire-at><entry><content>content_y317j60208</content></entry></data>

2022-08-07 23:03:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 08 Aug 2022 06:03:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-07 23:03:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4db076ea-8f9f-446c-9754-4a434ae9c99e</value></item-id></result>

2022-08-07 23:03:02 | contains: true

2022-08-07 23:03:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-07 23:03:10 | [Mutex] waiting for: [user_regularb1dvhh0203@test-domain.com:message:received:content_y317j60208]

2022-08-07 23:03:25 | [Mutex] timeout. Not received [user_regularb1dvhh0203@test-domain.com:message:received:content_y317j60208]

2022-08-07 23:03:25 | [Mutex] received everything.

2022-08-07 23:03:25 | [Mutex] isItemNotified: user_regularb1dvhh0203@test-domain.com:message:received:content_y317j60208 :: false

2022-08-07 23:03:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y317j60208 :: true