Generated by TestNG with ReportNG at 22:49 PDT on Sunday 03 July 2022
root@f9c07ffec79b / 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.878s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.564s
2022-07-03 23:03:49 |

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

2022-07-03 23:03:49 | ------------------------------------

2022-07-03 23:03:49 | [Mutex] isItemNotified: node_h35r7k0204:exists :: false

2022-07-03 23:03:49 | [Mutex] waiting for: [node_h35r7k0204:create_node]

2022-07-03 23:03:49 | [Mutex] waiting for: [node_h35r7k0204:create_node]

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

2022-07-03 23:03:49 | [Mutex] isItemNotified: node_h35r7k0204:create_node:success :: true

2022-07-03 23:03:49 | [Mutex] waiting for: [node_h35r7k0204:subscribe_node]

2022-07-03 23:03:49 | [Mutex] waiting for: [node_h35r7k0204:subscribe_node]

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

2022-07-03 23:03:49 | [Mutex] isItemNotified: node_h35r7k0204:subscribe_node:success :: true

2022-07-03 23:03:49 |


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


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

2022-07-03 23:03:49 | command: <data><node>node_h35r7k0204</node><entry><content>content_jnr9ch0205</content></entry></data>

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

2022-07-03 23:03:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 23:03:49 | entity: <data><node>node_h35r7k0204</node><entry><content>content_jnr9ch0205</content></entry></data>

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

2022-07-03 23:03:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89097283-a67c-4cdf-ac2c-51defb00fbe6</value></item-id></result>

2022-07-03 23:03:49 | contains: true

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

2022-07-03 23:03:49 | [Mutex] isItemNotified: user_regularp7fdfu0203@test-domain.com:message:received:content_jnr9ch0205 :: true

2022-07-03 23:03:49 |


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


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

2022-07-03 23:03:49 | command: <data><node>node_h35r7k0204</node><expire-at>2022-07-04T06:03:44Z</expire-at><entry><content>content_v04smc0206</content></entry></data>

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

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

2022-07-03 23:03:49 | entity: <data><node>node_h35r7k0204</node><expire-at>2022-07-04T06:03:44Z</expire-at><entry><content>content_v04smc0206</content></entry></data>

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

2022-07-03 23:03:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67ec8492-e3a4-49c6-b857-88720bf764e0</value></item-id></result>

2022-07-03 23:03:49 | contains: true

2022-07-03 23:03:49 | [Mutex] waiting for: [user_regularp7fdfu0203@test-domain.com:message:received:content_v04smc0206]

2022-07-03 23:04:04 | [Mutex] timeout. Not received [user_regularp7fdfu0203@test-domain.com:message:received:content_v04smc0206]

2022-07-03 23:04:04 | [Mutex] isItemNotified: user_regularp7fdfu0203@test-domain.com:message:received:content_v04smc0206 :: false

2022-07-03 23:04:04 |


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


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

2022-07-03 23:04:04 | command: <data><node>node_h35r7k0204</node><entry><content>content_l8shz90207</content></entry></data>

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

2022-07-03 23:04:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-03 23:04:04 | entity: <data><node>node_h35r7k0204</node><entry><content>content_l8shz90207</content></entry></data>

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

2022-07-03 23:04:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f01d77d0-2162-4787-a423-3160569e4677</value></item-id></result>

2022-07-03 23:04:04 | contains: true

2022-07-03 23:04:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-03 23:04:09 | [Mutex] waiting for: [user_regularp7fdfu0203@test-domain.com:message:received:content_l8shz90207]

2022-07-03 23:04:09 | [Mutex] waiting for: [user_regularp7fdfu0203@test-domain.com:message:received:content_l8shz90207]

2022-07-03 23:04:09 | [Mutex] received everything.

2022-07-03 23:04:09 | [Mutex] isItemNotified: user_regularp7fdfu0203@test-domain.com:message:received:content_l8shz90207 :: true

2022-07-03 23:04:09 |


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


2022-07-03 23:04:09 | [Mutex] received everything.

2022-07-03 23:04:09 | [Mutex] isItemNotified: node_h35r7k0204:subscribe_node:success :: true

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

2022-07-03 23:04:09 | command: <data><node>node_h35r7k0204</node><expire-at>2022-07-04T06:04:14Z</expire-at><entry><content>content_uff1m10208</content></entry></data>

2022-07-03 23:04:09 | target: http://localhost:8088

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

2022-07-03 23:04:09 | entity: <data><node>node_h35r7k0204</node><expire-at>2022-07-04T06:04:14Z</expire-at><entry><content>content_uff1m10208</content></entry></data>

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

2022-07-03 23:04:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8900e291-7914-4741-8174-ed76855692de</value></item-id></result>

2022-07-03 23:04:09 | contains: true

2022-07-03 23:04:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-03 23:04:17 | [Mutex] waiting for: [user_regularp7fdfu0203@test-domain.com:message:received:content_uff1m10208]

2022-07-03 23:04:17 | [Mutex] waiting for: [user_regularp7fdfu0203@test-domain.com:message:received:content_uff1m10208]

2022-07-03 23:04:32 | [Mutex] timeout. Not received [user_regularp7fdfu0203@test-domain.com:message:received:content_uff1m10208]

2022-07-03 23:04:32 | [Mutex] received everything.

2022-07-03 23:04:32 | [Mutex] isItemNotified: user_regularp7fdfu0203@test-domain.com:message:received:content_uff1m10208 :: false

2022-07-03 23:04:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uff1m10208 :: true