Test duration: 45.313s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.590s |
2019-11-26 19:17:00 |
2019-11-26 19:17:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-11-26 19:17:00 | ------------------------------------ 2019-11-26 19:17:00 | [Mutex] isItemNotified: node_q20q5y0184:exists :: false 2019-11-26 19:17:00 | [Mutex] waiting for: [node_q20q5y0184:create_node] 2019-11-26 19:17:00 | [Mutex] received everything. 2019-11-26 19:17:00 | [Mutex] isItemNotified: node_q20q5y0184:create_node:success :: true 2019-11-26 19:17:00 | [Mutex] waiting for: [node_q20q5y0184:subscribe_node] 2019-11-26 19:17:00 | [Mutex] received everything. 2019-11-26 19:17:00 | [Mutex] isItemNotified: node_q20q5y0184:subscribe_node:success :: true 2019-11-26 19:17:00 | ===== publishing normal message (to online) 2019-11-26 19:17:00 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-26 19:17:00 | command: <data><node>node_q20q5y0184</node><entry><content>content_bid5gs0185</content></entry></data> 2019-11-26 19:17:00 | target: http://localhost:8088 2019-11-26 19:17:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-26 19:17:00 | entity: <data><node>node_q20q5y0184</node><entry><content>content_bid5gs0185</content></entry></data> 2019-11-26 19:17:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 03:17:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-26 19:17:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7a501ad5-6e41-4874-9edc-2429832ade4b</value></item-id></result> 2019-11-26 19:17:00 | contains: true 2019-11-26 19:17:00 | [Mutex] received everything. 2019-11-26 19:17:00 | [Mutex] isItemNotified: user_regulari21bx20183@localhost:message:received:content_bid5gs0185 :: true 2019-11-26 19:17:00 | ===== publishing already old message - expecting message being filtered out (to online) 2019-11-26 19:17:00 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-26 19:17:00 | command: <data><node>node_q20q5y0184</node><expire-at>2019-11-27T03:16:55Z</expire-at><entry><content>content_fiynhw0186</content></entry></data> 2019-11-26 19:17:00 | target: http://localhost:8088 2019-11-26 19:17:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-26 19:17:00 | entity: <data><node>node_q20q5y0184</node><expire-at>2019-11-27T03:16:55Z</expire-at><entry><content>content_fiynhw0186</content></entry></data> 2019-11-26 19:17:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 03:17:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-26 19:17:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3830e0e1-dd84-44f5-ab99-9d1c4fab87db</value></item-id></result> 2019-11-26 19:17:00 | contains: true 2019-11-26 19:17:00 | [Mutex] waiting for: [user_regulari21bx20183@localhost:message:received:content_fiynhw0186] 2019-11-26 19:17:15 | [Mutex] timeout. Not received [user_regulari21bx20183@localhost:message:received:content_fiynhw0186] 2019-11-26 19:17:15 | [Mutex] isItemNotified: user_regulari21bx20183@localhost:message:received:content_fiynhw0186 :: false 2019-11-26 19:17:15 | ===== publishing normal message (to offline) 2019-11-26 19:17:15 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-26 19:17:15 | command: <data><node>node_q20q5y0184</node><entry><content>content_1ee85u0187</content></entry></data> 2019-11-26 19:17:15 | target: http://localhost:8088 2019-11-26 19:17:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-26 19:17:15 | entity: <data><node>node_q20q5y0184</node><entry><content>content_1ee85u0187</content></entry></data> 2019-11-26 19:17:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 03:17:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-26 19:17:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bbfd678d-8506-4290-b465-3090b626bf6a</value></item-id></result> 2019-11-26 19:17:15 | contains: true 2019-11-26 19:17:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-26 19:17:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] DNS entry stored in session object: localhost:5222 2019-11-26 19:17:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-26 19:17:21 | [Mutex] waiting for: [user_regulari21bx20183@localhost:message:received:content_1ee85u0187] 2019-11-26 19:17:21 | [Mutex] received everything. 2019-11-26 19:17:21 | [Mutex] isItemNotified: user_regulari21bx20183@localhost:message:received:content_1ee85u0187 :: true 2019-11-26 19:17:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-11-26 19:17:21 | [Mutex] received everything. 2019-11-26 19:17:21 | [Mutex] isItemNotified: node_q20q5y0184:subscribe_node:success :: true 2019-11-26 19:17:21 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-26 19:17:21 | command: <data><node>node_q20q5y0184</node><expire-at>2019-11-27T03:17:26Z</expire-at><entry><content>content_zbi94w0188</content></entry></data> 2019-11-26 19:17:21 | target: http://localhost:8088 2019-11-26 19:17:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-26 19:17:21 | entity: <data><node>node_q20q5y0184</node><expire-at>2019-11-27T03:17:26Z</expire-at><entry><content>content_zbi94w0188</content></entry></data> 2019-11-26 19:17:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 03:17:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-26 19:17:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e49b0b44-341f-4669-bf30-800a098666be</value></item-id></result> 2019-11-26 19:17:21 | contains: true 2019-11-26 19:17:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-26 19:17:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] DNS entry stored in session object: localhost:5222 2019-11-26 19:17:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-26 19:17:29 | [Mutex] waiting for: [user_regulari21bx20183@localhost:message:received:content_zbi94w0188] 2019-11-26 19:17:29 | [Mutex] waiting for: [user_regulari21bx20183@localhost:message:received:content_zbi94w0188] 2019-11-26 19:17:44 | [Mutex] timeout. Not received [user_regulari21bx20183@localhost:message:received:content_zbi94w0188] 2019-11-26 19:17:44 | [Mutex] received everything. 2019-11-26 19:17:44 | [Mutex] isItemNotified: user_regulari21bx20183@localhost:message:received:content_zbi94w0188 :: false 2019-11-26 19:17:44 | [Mutex] isItemNotified: admin@localhost:message:received:content_zbi94w0188 :: true |