Generated by TestNG with ReportNG at 23:05 PDT on Sunday 08 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.598s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.648s
2022-05-08 23:20:20 |

2022-05-08 23:20:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-08 23:20:20 | ------------------------------------

2022-05-08 23:20:20 | [Mutex] isItemNotified: node_v3dn870204:exists :: false

2022-05-08 23:20:20 | [Mutex] waiting for: [node_v3dn870204:create_node]

2022-05-08 23:20:20 | [Mutex] received everything.

2022-05-08 23:20:20 | [Mutex] isItemNotified: node_v3dn870204:create_node:success :: true

2022-05-08 23:20:20 | [Mutex] waiting for: [node_v3dn870204:subscribe_node]

2022-05-08 23:20:20 | [Mutex] waiting for: [node_v3dn870204:subscribe_node]

2022-05-08 23:20:20 | [Mutex] received everything.

2022-05-08 23:20:20 | [Mutex] isItemNotified: node_v3dn870204:subscribe_node:success :: true

2022-05-08 23:20:20 |


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


2022-05-08 23:20:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:20:20 | command: <data><node>node_v3dn870204</node><entry><content>content_epgcho0205</content></entry></data>

2022-05-08 23:20:20 | target: http://localhost:8088

2022-05-08 23:20:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 23:20:20 | entity: <data><node>node_v3dn870204</node><entry><content>content_epgcho0205</content></entry></data>

2022-05-08 23:20:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:20:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:20:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9a926a3-4ece-4023-babc-c03e09090301</value></item-id></result>

2022-05-08 23:20:20 | contains: true

2022-05-08 23:20:20 | [Mutex] received everything.

2022-05-08 23:20:20 | [Mutex] isItemNotified: user_regularoqzclk0203@test-domain.com:message:received:content_epgcho0205 :: true

2022-05-08 23:20:20 |


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


2022-05-08 23:20:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:20:20 | command: <data><node>node_v3dn870204</node><expire-at>2022-05-09T06:20:15Z</expire-at><entry><content>content_unb20d0206</content></entry></data>

2022-05-08 23:20:20 | target: http://localhost:8088

2022-05-08 23:20:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 23:20:20 | entity: <data><node>node_v3dn870204</node><expire-at>2022-05-09T06:20:15Z</expire-at><entry><content>content_unb20d0206</content></entry></data>

2022-05-08 23:20:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:20:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:20:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91f7c1d5-0a64-4530-89ca-e8bd4e9518c2</value></item-id></result>

2022-05-08 23:20:20 | contains: true

2022-05-08 23:20:20 | [Mutex] waiting for: [user_regularoqzclk0203@test-domain.com:message:received:content_unb20d0206]

2022-05-08 23:20:35 | [Mutex] timeout. Not received [user_regularoqzclk0203@test-domain.com:message:received:content_unb20d0206]

2022-05-08 23:20:35 | [Mutex] isItemNotified: user_regularoqzclk0203@test-domain.com:message:received:content_unb20d0206 :: false

2022-05-08 23:20:35 |


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


2022-05-08 23:20:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:20:35 | command: <data><node>node_v3dn870204</node><entry><content>content_jvvj6s0207</content></entry></data>

2022-05-08 23:20:35 | target: http://localhost:8088

2022-05-08 23:20:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 23:20:35 | entity: <data><node>node_v3dn870204</node><entry><content>content_jvvj6s0207</content></entry></data>

2022-05-08 23:20:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:20:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:20:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0130cb2a-064b-4527-9cfc-22bd9ba9818a</value></item-id></result>

2022-05-08 23:20:35 | contains: true

2022-05-08 23:20:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-08 23:20:41 | [Mutex] waiting for: [user_regularoqzclk0203@test-domain.com:message:received:content_jvvj6s0207]

2022-05-08 23:20:41 | [Mutex] waiting for: [user_regularoqzclk0203@test-domain.com:message:received:content_jvvj6s0207]

2022-05-08 23:20:41 | [Mutex] received everything.

2022-05-08 23:20:41 | [Mutex] isItemNotified: user_regularoqzclk0203@test-domain.com:message:received:content_jvvj6s0207 :: true

2022-05-08 23:20:41 |


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


2022-05-08 23:20:41 | [Mutex] received everything.

2022-05-08 23:20:41 | [Mutex] isItemNotified: node_v3dn870204:subscribe_node:success :: true

2022-05-08 23:20:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 23:20:41 | command: <data><node>node_v3dn870204</node><expire-at>2022-05-09T06:20:46Z</expire-at><entry><content>content_e7odm40208</content></entry></data>

2022-05-08 23:20:41 | target: http://localhost:8088

2022-05-08 23:20:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 23:20:41 | entity: <data><node>node_v3dn870204</node><expire-at>2022-05-09T06:20:46Z</expire-at><entry><content>content_e7odm40208</content></entry></data>

2022-05-08 23:20:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 06:20:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 23:20:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b79cbbc1-4941-4b8e-a340-346fd98d7c1f</value></item-id></result>

2022-05-08 23:20:41 | contains: true

2022-05-08 23:20:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-08 23:20:49 | [Mutex] waiting for: [user_regularoqzclk0203@test-domain.com:message:received:content_e7odm40208]

2022-05-08 23:21:04 | [Mutex] timeout. Not received [user_regularoqzclk0203@test-domain.com:message:received:content_e7odm40208]

2022-05-08 23:21:04 | [Mutex] received everything.

2022-05-08 23:21:04 | [Mutex] isItemNotified: user_regularoqzclk0203@test-domain.com:message:received:content_e7odm40208 :: false

2022-05-08 23:21:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e7odm40208 :: true