Generated by TestNG with ReportNG at 22:53 PDT on Thursday 22 September 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.774s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.645s
2022-09-22 23:07:32 |

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

2022-09-22 23:07:32 | ------------------------------------

2022-09-22 23:07:32 | [Mutex] isItemNotified: node_ia3wdb0204:exists :: false

2022-09-22 23:07:32 | [Mutex] waiting for: [node_ia3wdb0204:create_node]

2022-09-22 23:07:32 | [Mutex] waiting for: [node_ia3wdb0204:create_node]

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

2022-09-22 23:07:32 | [Mutex] isItemNotified: node_ia3wdb0204:create_node:success :: true

2022-09-22 23:07:32 | [Mutex] waiting for: [node_ia3wdb0204:subscribe_node]

2022-09-22 23:07:32 | [Mutex] waiting for: [node_ia3wdb0204:subscribe_node]

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

2022-09-22 23:07:32 | [Mutex] isItemNotified: node_ia3wdb0204:subscribe_node:success :: true

2022-09-22 23:07:32 |


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


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

2022-09-22 23:07:32 | command: <data><node>node_ia3wdb0204</node><entry><content>content_kcj5of0205</content></entry></data>

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

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

2022-09-22 23:07:32 | entity: <data><node>node_ia3wdb0204</node><entry><content>content_kcj5of0205</content></entry></data>

2022-09-22 23:07:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:07:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 23:07:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>48a84689-bbb7-4a8b-9931-08de9ee407ff</value></item-id></result>

2022-09-22 23:07:32 | contains: true

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

2022-09-22 23:07:32 | [Mutex] isItemNotified: user_regulare79gaz0203@test-domain.com:message:received:content_kcj5of0205 :: true

2022-09-22 23:07:32 |


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


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

2022-09-22 23:07:32 | command: <data><node>node_ia3wdb0204</node><expire-at>2022-09-23T06:07:27Z</expire-at><entry><content>content_uhhm9z0206</content></entry></data>

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

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

2022-09-22 23:07:32 | entity: <data><node>node_ia3wdb0204</node><expire-at>2022-09-23T06:07:27Z</expire-at><entry><content>content_uhhm9z0206</content></entry></data>

2022-09-22 23:07:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:07:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 23:07:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>63a97e32-79b0-4c53-9b47-687547cb8f13</value></item-id></result>

2022-09-22 23:07:32 | contains: true

2022-09-22 23:07:32 | [Mutex] waiting for: [user_regulare79gaz0203@test-domain.com:message:received:content_uhhm9z0206]

2022-09-22 23:07:47 | [Mutex] timeout. Not received [user_regulare79gaz0203@test-domain.com:message:received:content_uhhm9z0206]

2022-09-22 23:07:47 | [Mutex] isItemNotified: user_regulare79gaz0203@test-domain.com:message:received:content_uhhm9z0206 :: false

2022-09-22 23:07:47 |


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


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

2022-09-22 23:07:47 | command: <data><node>node_ia3wdb0204</node><entry><content>content_pmzha80207</content></entry></data>

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

2022-09-22 23:07:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-22 23:07:47 | entity: <data><node>node_ia3wdb0204</node><entry><content>content_pmzha80207</content></entry></data>

2022-09-22 23:07:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:07:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 23:07:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa337924-5cc7-4092-a3c2-8d3ab0f10a75</value></item-id></result>

2022-09-22 23:07:47 | contains: true

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

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

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

2022-09-22 23:07:52 | [Mutex] waiting for: [user_regulare79gaz0203@test-domain.com:message:received:content_pmzha80207]

2022-09-22 23:07:52 | [Mutex] waiting for: [user_regulare79gaz0203@test-domain.com:message:received:content_pmzha80207]

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

2022-09-22 23:07:52 | [Mutex] isItemNotified: user_regulare79gaz0203@test-domain.com:message:received:content_pmzha80207 :: true

2022-09-22 23:07:52 |


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


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

2022-09-22 23:07:52 | [Mutex] isItemNotified: node_ia3wdb0204:subscribe_node:success :: true

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

2022-09-22 23:07:52 | command: <data><node>node_ia3wdb0204</node><expire-at>2022-09-23T06:07:57Z</expire-at><entry><content>content_hh6vmz0208</content></entry></data>

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

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

2022-09-22 23:07:52 | entity: <data><node>node_ia3wdb0204</node><expire-at>2022-09-23T06:07:57Z</expire-at><entry><content>content_hh6vmz0208</content></entry></data>

2022-09-22 23:07:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 06:07:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-22 23:07:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd28dfbc-803e-466b-b382-fd5e45217dcc</value></item-id></result>

2022-09-22 23:07:52 | contains: true

2022-09-22 23:08:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-09-22 23:08:01 | [Mutex] waiting for: [user_regulare79gaz0203@test-domain.com:message:received:content_hh6vmz0208]

2022-09-22 23:08:01 | [Mutex] waiting for: [user_regulare79gaz0203@test-domain.com:message:received:content_hh6vmz0208]

2022-09-22 23:08:01 | [Mutex] waiting for: [user_regulare79gaz0203@test-domain.com:message:received:content_hh6vmz0208]

2022-09-22 23:08:16 | [Mutex] timeout. Not received [user_regulare79gaz0203@test-domain.com:message:received:content_hh6vmz0208]

2022-09-22 23:08:16 | [Mutex] received everything.

2022-09-22 23:08:16 | [Mutex] isItemNotified: user_regulare79gaz0203@test-domain.com:message:received:content_hh6vmz0208 :: false

2022-09-22 23:08:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hh6vmz0208 :: true